Part Number Hot Search : 
BC2004A BFXXXX GB3212 GS2975A BT390 27C25 HD14027 AXX49T
Product Description
Full Text Search
 

To Download ADV7305AKST Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 a
Multiformat SD, Progressive Scan/HDTV Video Encoder with Six NSVTM 14-Bit DACs ADV7304A/ADV7305A
SIMPLIFIED FUNCTIONAL BLOCK DIAGRAM
STANDARD DEFINITION CONTROL BLOCK D E M U X COLOR CONTROL BRIGHTNESS DNR GAMMA PROGRAMMABLE FILTERS SD TEST PATTERN
FEATURES High Definition Input Formats YCrCb Compliant to SMPTE293M (525 p), ITU-R.BT1358 (625 p), SMPTE274M (1080 i), SMPTE296M (720 p), and Any Other High Definition Standard Using Async Timing Mode RGB in 3 10-Bit 4:4:4 Format BTA T-1004 EDTV2 525 p Parallel High Definition Output Formats (525 p/625 p/720 p/1080 i) YPrPb Progressive Scan (EIA-770.1, EIA-770.2) YPrPb HDTV (EIA 770.3) RGB + H/V (HDTV 5-Wire Format) CGMS-A (720 p/1080 i) Macrovision Rev 1.0 (525 p/625 p)* CGMS-A (525 p) Standard Definition Input Formats CCIR-656 4:2:2 8-/10-Bit Parallel Input CCIR-601 4:2:2 16-/20-Bit Parallel Input Standard Definition Output Formats Composite NTSC M, N; PAL M, N, B, D, G, H, I, PAL-60 SMPTE170M NTSC Compatible Composite Video ITU-R.BT470 PAL Compatible Composite Video S-Video (Y/C) EuroScart RGB Component YUV (Betacam, MII, SMPTE/EBU N10) Macrovision Rev 7.1* CGMS/WSS Closed Captioning GENERAL FEATURES Simultaneous SD and HD Inputs and Outputs Oversampling (108 MHz/148.5 MHz) On-Board Voltage Reference 6 NSV Precision Video 14-Bit - DACs 2-Wire Serial MPU Interface Dual I/O Supply 2.5 V/3.3 V Operation Analog and Digital Supply 2.5 V On-Board PLL 64-LQFP Package Lead-Free Product APPLICATIONS High End DVD Players SD/Program Scan/HDTV Display Devices SD/Program Scan/HDTV Set-Top Boxes SD/HDTV Studio Equipment Professional Video Equipment
NSV (Noise Shaped Video) is a trademark of Analog Devices, Inc. *ADV7304A Only
ADV7304A/ ADV7305A
14-BIT DAC O V E R S A M P L I N G 14-BIT DAC 14-BIT DAC 14-BIT DAC 14-BIT DAC 14-BIT DAC
S9-S0
PROGRAMMABLE RGB MATRIX
Y9-Y0 C9-C0 S_HSYNC S_VSYNC S_BLANK P_HSYNC P_VSYNC P_BLANK CLKIN_A CLKIN_B
D E M U X TIMING GENERATOR
HIGH DEFINITION CONTROL BLOCK HD TEST PATTERN COLOR CONTROL ADAPTIVE FILTER CTRL SHARPNESS FILTER
PLL
I2C INTERFACE
GENERAL DESCRIPTION
The ADV7304A/ADV7305A is a high speed, digital-to-analog encoder on a single monolithic chip. It includes six high speed video D/A converters with TTL compatible inputs. The ADV7304A/ADV7305A has three separate 10-bit wide input ports that accept data in high definition and/or standard definition video format. For all standards, external horizontal, vertical, and blanking signals, or EAV/SAV timing codes, control the insertion of appropriate synchronization signals into the digital data stream and therefore the output signals.
REV. A
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 (c) Analog Devices, Inc., 2002
ADV7304A/ADV7305A
DETAILED FEATURES High Definition Programmable Features (720 p/1080 i) 2 Oversampling (148.5 MHz) Internal Test Pattern Generator (Color Hatch, Black Bar, Flat Field/Frame) Fully Programmable YCrCb to RGB Matrix Gamma Correction Programmable Adaptive Filter Control Programmable Sharpness Filter Control CGMS-A (720 p/1080 i) High Definition Programmable Features (525 p/625 p) 4 Oversampling (108 MHz Output) Internal Test Pattern Generator (Color Hatch, Black Bar, Flat Frame) Individual Y and PrPb Output Delay Gamma Correction Programmable Adaptive Filter Control Fully Programmable YCrCb to RGB Matrix Undershoot Limiter Macrovision Rev 1.0 (525 p/625 p)* CGMS-A (525 p) Standard Definition Programmable Features 8 Oversampling (108 MHz) Internal Test Pattern Generator (Color Bars, Black Bar) Controlled Edge Rates for Sync, Active Video Individual Y and UV Output Delay Gamma Correction Digital Noise Reduction Multiple Chroma and Luma Filters Luma-SSAFTM Filter with Programmable Gain/ Attenuation UV SSAF Separate Pedestal Control on Component and Composite/S-Video Outputs VCR FF/RW Sync Mode Macrovision Rev 7.1* CGMS/WSS Closed Captioning
HD PIXEL INPUT
CLKIN_B
Y DEINTER- CR LEAVE CB
TEST PATTERN
SHARPNESS AND ADAPTIVE FILTER CONTROL
DAC Y COLOR CR COLOR CB COLOR 4:2:2 TO 4:4:4 PS 4 HDTV 2 DAC
P_HSYNC P_VSYNC P_BLANK
TIMING GENERATOR
DAC CLOCK CONTROL AND PLL UV SSAF DAC RGB MATRIX SD 8 DAC
S_HSYNC S_VSYNC S_BLANK
TIMING GENERATOR
CLKIN_A
SD PIXEL INPUT
CB DEINTER- CR LEAVE Y
TEST PATTERN
DNR GAMMA
COLOR CONTROL
SYNC INSER- U TION V
DAC
CGMS WSS
LUMA AND CHROMA FILTERS
2 OVERSAMPLING
FSC MODULATION
Figure 1. Functional Block Diagram
TERMS USED IN THIS DATA SHEET
HDTV YCrCb YPrPb YUV
SD HD PS
Standard Definition Video, conforming to ITU-R.BT601/ITU-R.BT656. High Definition Video, i.e., Progressive Scan or HDTV. Progressive Scan Video, conforming to SMPTE293M or ITU-R.BT1358.
High Definition Television Video, conforming to SMPTE274M or SMPTE296M. SD or HD Component Digital Video. HD Component Analog Video. SD Component Analog Video.
SSAF is a trademark of Analog Devices, Inc. *ADV7304A Only
-2-
REV. A
ADV7304A/ADV7305A-SPECIFICATIONS = 150 (V = V = 2.375 V-2.625 V, V = 2.375 V-3.600 V, V = 1.235 V, R = 1520 , R
AA DD DD_IO REF SET LOAD
, TMIN to TMAX (0 C to 70 C), unless otherwise noted.)
Unit Bits LSB LSB LSB Test Conditions
Parameter STATIC PERFORMANCE Resolution Integral Nonlinearity Differential Nonlinearity, +ve2 Differential Nonlinearity, -ve2 DIGITAL OUTPUTS Output Low Voltage, VOL Output High Voltage, VOH Three-State Leakage Current Three-State Output Capacitance DIGITAL AND CONTROL INPUTS Input High Voltage, VIH Input Low Voltage, VIL Input Leakage Current Input Capacitance, CIN ANALOG OUTPUTS Full-Scale Output Current Output Current Range DAC to DAC Matching Output Compliance Range, VOC Output Capacitance, COUT VOLTAGE REFERENCE Reference Range, VREF POWER REQUIREMENTS Normal Power Mode IDD4
1
Min
Typ 14 3.0 1 5.5
Max
0.4 [0.4]3 2.4 [2.0]
3
1.0 2 2 0.8 1 2 4.2 4.2 0 4.33 4.33 2.0 1.0 7 1.235 4.5 4.5 1.4
V V A pF V V A pF mA mA % V pF V
ISINK = 3.2 mA ISOURCE = 400 A VIN = 0.4 V, 2.4 V
VIN = 2.4 V
1.17
1.3
IDD_IO IAA5,6 Sleep Mode IDD IAA IDD_IO Power Supply Rejection Ratio
93 52 84 90 99 108 0.2 70 130 10 110 0.01
110
75
mA mA mA mA mA mA mA mA A A A %/%
SD Only [8 ] PS Only [4 ] HDTV Only [2 ] SD and PS SD [8 ] and HDTV SD and HDTV [2 ]
NOTES 1 NSV features enabled. 2 DNL measures the deviation of the actual DAC o/p voltage step from the ideal. For +ve DNL, the actual step value lies above the ideal step value; for -ve DNL, the actual step values lie below the ideal step value. 3 Value in brackets for V DD_IO = 2.375 V to 2.750 V. 4 IDD or the circuit current is the continuous current required to drive the digital core without the I PLL. 5 IAA is the total current required to supply all DACs including the V REF and PLL circuitry. 6 All DACs on. Specifications subject to change without notice.
REV. A
-3-
ADV7304A/ADV7305A DYNAMIC SPECIFICATIONS
Parameter PROGRESSIVE SCAN MODE Luma Bandwidth Chroma Bandwidth SNR SNR SNR HDTV MODE Luma Bandwidth Chroma Bandwidth SNR SNR SNR STANDARD DEFINITION MODE Hue Accuracy Color Saturation Accuracy Chroma Nonlinear Gain Chroma Nonlinear Phase Chroma/Luma Intermodulation Chroma/Luma Gain Inequality Chroma/Luma Delay Inequality Luminance Nonlinearity Chroma AM Noise Chroma PM Noise Differential Gain Differential Phase SNR SNR SNR
Specifications subject to change without notice.
(VAA = VDD = 2.375 V-2.625 V, VDD_IO = 2.375 V-3.600 V, VREF = 1.235 V, RSET = 1520 RLOAD = 150 , TMIN to TMAX (0 C to 70 C), unless otherwise noted.)
Min Typ 12.5 5.8 64 82 79 30 13.75 64 82 79 0.6 0.5 0.4 0.4 0 98.5 0.6 0.1 87.2 78.4 0.07 0.13 64 82 79 Max Unit MHz MHz dB dB dB MHz MHz dB dB dB Degrees % % Degrees % % ns % dB dB % Degrees dB dB dB Test Conditions
,
Luma Ramp Unweighted Flat Field up to 5 MHz Flat Field Full Bandwidth
Luma Ramp Unweighted Flat Field up to 5 MHz Flat Field Full Bandwidth
Referenced to 40 IRE
NTSC NTSC Luma Ramp Flat Field up to 5 MHz Flat Field Full Bandwidth
-4-
REV. A
ADV7304A/ADV7305A TIMING SPECIFICATIONS R
Parameter MPU PORT SCLOCK Frequency SCLOCK High Pulsewidth, t1 SCLOCK Low Pulsewidth, t2 Hold Time (Start Condition), t3 Setup Time (Start Condition), t4 Data Setup Time, t5 SDATA, SCLOCK Rise Time, t6 SDATA, SCLOCK Fall Time, t7 Setup Time (Stop Condition), t8 RESET Low Time ANALOG OUTPUTS Analog Output Delay2 Output Skew CLOCK CONTROL AND PIXEL PORT3 fCLK fCLK Clock High Time, t9 Clock Low Time, t10 Data Setup Time, t11 Data Hold Time, t12 Output Access Time, t13 Output Hold Time, t14 Pipeline Delay
1
(VAA = VDD = 2.375 V-2.625 V, VDD_IO = 2.375 V-3.600 V, VREF = 1.235 V, RSET = 1520 , TMIN to TMAX (0 C to 70 C), unless otherwise noted.) LOAD = 150
Min 0 0.6 1.3 0.6 0.6 100 300 300 0.6 100 8 1 27 81 40 40 2.0 2.0 14 4.0 61 62.5 66.5 33 43.5 36 Typ Max 400 Unit kHz s s s s ns ns ns s ns ns ns MHz MHz % 1 clkcycle % 1 clkcycle ns ns ns ns clkcycles clkcycles clkcycles clkcycles clkcycles clkcycles
,
Test Conditions
First Clock Generated after This Period Relevant for Repeated Start Condition
Progressive Scan Mode HDTV Mode/Async Mode
SD [2 ] SD [8 ] SD Component Filter [8 ] PS [1 ], HD [1 ], Async Timing Mode PS [4 ] HD [2 ]
NOTES 1 Guaranteed by characterization. 2 Output delay measured from the 50% point of the rising edge of CLOCK to the 50% point of DAC output full-scale transition. 3 Data: C[9:0]; S[9:0]; Y[9:0] Control: P_HSYNC; P_ VSYNC; P_BLANK; S_HSYNC; S_VSYNC; S_BLANK Specifications subject to change without notice.
REV. A
-5-
ADV7304A/ADV7305A
CLKIN_A
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK
t10
t12
Y9-Y0
Y0
Y1
Y2
Y3
Y4
Y5
C9-C0
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
t11
CONTROL O/PS S_HSYNC, S_VSYNC
t13
t14 t9 = CLOCK HIGH TIME, t10 = CLOCK LOW TIME, t11 = DATA SETUP TIME, t12 = DATA HOLD TIME
Figure 2. HD 4:2:2 Input Data Format Timing Diagram, Input Mode: PS Input Only, HDTV Input Only (Input Mode at Subaddress 01h = 001 or 010)
CLKIN_A
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK Y9-Y0 Y0
t10
Y1
Y2
Yxxx
Yxxx
C9-C0
Cb0
Cb1
Cb2
Cb3
Cbxxx
Cbxxx
S9-S0
Cr0
Cr1
Cr2
Cr3
Crxxx
Crxxx
t11
CONTROL O/PS S_HSYNC, S_VSYNC
t12 t13
t14 t9 = CLOCK HIGH TIME, t10 = CLOCK LOW TIME, t11 = DATA SETUP TIME, t12 = DATA HOLD TIME
Figure 3. HD 4:4:4 YCrCb Input Data Format Timing Diagram, Input Mode: PS Input Only, HDTV Input Only (Input Mode at Subaddress 01h = 001 or 010)
-6-
REV. A
ADV7304A/ADV7305A
CLKIN_A
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK Y9-Y0 G0
t10
G1
G2
G3
Gxxx
Gxxx
C9-C0
B0
B1
B2
B3
Bxxx
Bxxx
S9-S0
R0
R1
R2
Rxxx
Rxxx
t11
CONTROL O/PS S_HSYNC, S_VSYNC
t12 t13
t14 t9 = CLOCK HIGH TIME, t10 = CLOCK LOW TIME, t11 = DATA SETUP TIME, t12 = DATA HOLD TIME
Figure 4. HD 4:4:4 RGB Input Data Format Timing Diagram, HD RGB Input Enabled (Input Mode at Subaddress 01h = 001 or 010)
CLKIN_B
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK Y9-Y0 Cb0 Y0
t10
Cr0
Y1
Crxxx
Yxxx
t12 t11
CONTROL O/PS
t12 t11 t13
S_HSYNC, S_VSYNC
t14 t9 = CLOCK HIGH TIME, t10 = CLOCK LOW TIME, t11 = DATA SETUP TIME, t12 = DATA HOLD TIME
Figure 5. PS 4:2:2 1 10-Bit Interleaved @ 27 MHz, Input Mode: PS Input Only (Input Mode at Subaddress 01h = 100)
REV. A
-7-
ADV7304A/ADV7305A
CLKIN_A
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK Y9-Y0 Cb0
t10
Y0
Cr0
Y1
Crxxx
Yxxx
t11
CONTROL O/PS S_HSYNC, S_VSYNC
t12
t13 t14
t9 = CLOCK HIGH TIME, t10 = CLOCK LOW TIME, t11 = DATA SETUP TIME, t12 = DATA HOLD TIME
Figure 6. PS 4:2:2 1 10-Bit Interleaved @ 54 MHz, Input Mode: PS 54 MHz Input (Input Mode at Subaddress 01h = 111)
CLKIN_A
t9
CONTROL I/PS S_HSYNC, S_VSYNC, S_BLANK
t10
t12
IN SLAVE MODE
S9-S2
Cb
Y
Cr
Y
Cb
Y
t11
CONTROL O/PS S_HSYNC, S_VSYNC
t13
IN MASTER/SLAVE MODE WITH EAV/SAV
t14
Figure 7. 8-Bit SD Pixel Input Timing Diagram, Input Mode: SD Input Only (Input Mode at Subaddress 01h = 000)
-8-
REV. A
ADV7304A/ADV7305A
CLKIN_A @ 27MHz
t9
CONTROL I/PS S_HSYNC, S_VSYNC, S_BLANK
t10
t12
IN SLAVE MODE
S9-S2
Y0
Y1
Y2
Y3
Y9-Y2
Cb0
Cr0
Cb2
Cr2
t11
CONTROL O/PS S_HSYNC, S_VSYNC
t13
IN MASTER/SLAVE MODE WITH EAV/SAV
t14
Figure 8. 16-Bit SD Pixel Input Timing Diagram, Input Mode: SD Input Only (Input Mode at Subaddress 01h = 000)
CLKIN_B
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK
t10
t12
Y9-Y0
Y0
Y1
Y2
Y3
Y4
Y5
HD INPUT
C9-C0
Cb0
Cr0
Cb2
Cr2
Cb4
Cr4
t11
CLKIN_A
CONTROL I/PS
S_HSYNC, S_VSYNC, S_BLANK S9-S0
t9
t10
t12
SD INPUT
Cb0
Y0
Cr0
Y1
Cb1
Y2
t11
Figure 9. SD and HD Simultaneous Input, Input Mode: SD and PS 20-Bit or SD and HDTV (Input Mode at Subaddress 01h = 011, 101, or 110)
REV. A
-9-
ADV7304A/ADV7305A
CLKIN_B
t9
CONTROL I/PS P_HSYNC, P_VSYNC, P_BLANK Cb0 Y0
t10
PS INPUT Cr0 Y1 Crxxx Yxxx
Y9-Y0
t11
t12 t11
t12
CLKIN_A
CONTROL I/PS
S_HSYNC, S_VSYNC, S_BLANK S9-S0
t9
t10
t12
SD INPUT Cb0 Y0 Cr0 Y1 Cb1 Y2
t11
Figure 10. SD and HD Simultaneous Input, Input Mode: SD and PS 10-Bit (Input Mode at Subaddress 01h = 100)
P_HSYNC
P_VSYNC
a P_BLANK
Y9-Y0
Cb
Y
Cr
Y
b a = 32 CLKCYCLES FOR 525p a = 24 CLKCYCLES FOR 625p AS RECOMMENDED BY STANDARD b(MIN) = 244 CLKCYCLES FOR 525p b(MIN) = 264 CLKCYCLES FOR 625p
Figure 11. PS 4:2:2 1
10-Bit Interleaved @ 54 MHz Input Timing Diagram
-10-
REV. A
ADV7304A/ADV7305A
P_HSYNC
P_VSYNC
a P_BLANK
Y9-Y0
Y0
Y1
Y2
Y3
S9-S0
Cr0
Cr1
Cr2
Cr3
C9-C0
Cb0
Cb1
Cb2
Cb3
b a = 16 CLKCYCLES FOR 525p a = 12 CLKCYCLES FOR 626p a = 44 CLKCYCLES FOR 1080i a = 70 CLKCYCLES FOR 720p AS RECOMMENDED BY STANDARD b(MIN) = 122 CLKCYCLES FOR 525p b(MIN) = 132 CLKCYCLES FOR 625p b(MIN) = 236 CLKCYCLES FOR 1080i b(MIN) = 300 CLKCYCLES FOR 720p
Figure 12. HD Input Timing Diagram
HSYNC
FIELD
PAL = 12 CLOCK/2 NTSC = 16 CLOCK/2 BLANK
PIXEL DATA
Cb
Y
Cr
Y
PAL = 132 NTSC = 122
CLOCK/2 CLOCK/2
Figure 13. SD Timing Input for Timing Mode 1
t3
SDA
t5
t3
t6
SCLK
t1
t2
t7
t4
t8
Figure 14. MPU Port Timing Diagram
REV. A
-11-
ADV7304A/ADV7305A
ABSOLUTE MAXIMUM RATINGS*
VAA to AGND . . . . . . . . . . . . . . . . . . . . . . . . +3.0 V to -0.3 V VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . +3.0 V to -0.3 V VDD_IO to IO_GND . . . . . . . . . . . . . -0.3 V to VDD_IO + 0.3 V Ambient Operating Temperature (TA) . . . . . . . 0C to +70C Storage Temperature (TS) . . . . . . . . . . . . . . -65C to +150C Infrared Reflow Soldering (20 sec) . . . . . . . . . . . . . . . . 260C
*Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
The ADV7304A/ADV7305A is a lead-free environmentally friendly product. It is manufactured using the most up-to-date materials and processes. The coating on the leads of each device is 100% pure tin electroplate. The device is suitable for lead-free applications and is able to withstand surface-mount soldering up to 255C ( 5C). In addition, it is backward compatible with conventional tin-lead soldering processes. This means that the electroplated tin coating can be soldered with tin-lead solder pastes at conventional reflow temperatures of 220C to 235C.
THERMAL CHARACTERISTICS
JC = 11C/W JA = 47C/W
ORDERING GUIDE
Model ADV7304AKST ADV7305AKST
Package Description Plastic Quad Flatpack Plastic Quad Flatpack
Package Option ST-64B ST-64B
CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADV7304A/ADV7305A features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. PIN CONFIGURATION
S_HSYNC RTC_SCR_TR S_VSYNC
48 S_BLANK PIN 1 IDENTIFIER 47 RSET1 46 VREF 45 COMP1 44 DAC A 43 DAC B 42 DAC C 41 VAA 40 AGND 39 DAC D 38 DAC E 37 DAC F 36 COMP2 35 RSET2 34 EXT_LF 33 RESET 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
CLKN_B
GND_IO
DGND
S9
S8
S7
S6
S5
VDD
S4
S3
S2
S1
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VDD_IO 1 Y0 2 Y1 3 Y2 4 Y3 5 Y4 6 Y5 7 Y6 8 Y7 9 VDD 10 DGND 11 Y8 12 Y9 13 C0 14 C1 15 C2 16
P_HSYNC P_VSYNC P_BLANK CLKIN_A C3 C5 C6 C7 C8 I2C ALSB SCLK SDA C9 C4
ADV7304A/ADV7305A
TOP VIEW (Not to Scale)
PIN FUNCTION DESCRIPTIONS
Pin No. 1 2-9, 12, 13 10, 56 11, 57
Mnemonic VDD_IO Y0-Y9 VDD DGND
Input/Output P I P G
Function Power Supply for Digital Inputs and Outputs 10-Bit Progressive Scan/HDTV Input Port for Y Data. The LSBs are set up on Pins Y0 and Y1. In Default Mode, the input on this port is output on DAC D. Digital Power Supply Digital Ground -12- REV. A
S0
ADV7304A/ADV7305A
Pin No. 14-18, 26-30 Mnemonic C0-C9 Input/Output I Function 10-Bit Progressive Scan/HDTV Input Port for CrCb Color Data in 4:2:2 Input Mode. In 4:4:4 Input Mode, this input port is used for the Cb (Blue/U) data. The LSBs are set up on Pins C0 and C1. In Default Mode, the input on this port is output on DAC E. This input pin must be tied high (VDD_IO) for the ADV7304A/ADV7305A to interface over the I2C port. TTL Address Input. This signal sets up the LSB of the MPU address. When this pin is tied low, the I2C filter is activated, which reduces noise on the I2C interface. MPU Port Serial Data Input/Output MPU Port Serial Interface Clock Input Video Horizontal Sync Control Signal for HD Sync in Simultaneous SD/HD Mode and HD Only Mode Video Vertical Sync Control Signal for HD Sync in Simultaneous SD/HD Mode and HD Only Mode Video Blanking Control Signal for HD Sync in Simultaneous SD/HD Mode and HD Only Mode Multifunctional Input: Realtime Control (RTC) Input, Timing Reset Input, and Subcarrier Reset Input Pixel Clock Input for HD Only or SD Only Modes This input resets the on-chip timing generator and sets the ADV7304A/ ADV7305A into default register setting. Reset is an active low signal. External Loop Filter for the Internal PLL A 1520 resistor must be connected from this pin to AGND and is used to control the amplitudes of the DAC outputs. Compensation Pin for DACs. Connect 0.1 F capacitor from COMP pin to VAA. In SD Only Mode: Chroma/Red/V Analog Output, in HD Only Mode and Simultaneous HD/SD: Pb/Blue (HD) Analog Output In SD Only Mode: Luma/Blue/U Analog Output, in HD Only Mode and Simultaneous HD/SD: Pr/Red (HD) Analog Output In SD Only Mode: CVBS/Green/Y Analog Output, in HD Only Mode and Simultaneous HD/SD: Y/Green (HD) Analog Output Analog Ground Analog Power Supply Chroma/Red/V SD Analog Output Luma/Blue/U SD Analog Output CVBS/Green/Y SD Analog Output Optional External Voltage Reference Input for DACs or Voltage Reference Output (1.235 V) Video Blanking Control Signal for SD Video Vertical Control Signal for SD. Option to output SD VSYNC or SD HSYNC in SD Slave Mode 0 and/or any HD Mode. Video Horizontal Control Signal for SD. Option to output SD HSYNC or HD HSYNC in SD Slave Mode 0 and/or any HD Mode. 10-Bit Standard Definition Input Port or Progressive Scan/HDTV Input Port for Cr (Red/V) Color Data in 4:4:4 Input Mode. The LSBs are set up on Pins S0 and S1. In Default Mode, the input on this port is output on DAC F. Pixel Clock Input. Requires a 27 MHz reference clock for Progressive Scan Mode or a 74.25 MHz (74.1758 MHz) reference clock in HDTV Mode. This clock input pin is only used in Simultaneous SD/HD Mode. Digital Ground -13-
19 20
I2 C ALSB
I I/O
21 22 23 24 25 31 32 33 34 35, 47 36, 45 37 38 39 40 41 42 43 44 46 48 49 50 51-55, 58-62
SDA SCLK P_HSYNC P_VSYNC P_BLANK RTC_SCR_TR CLKIN_A RESET EXT_LF RSET1, 2 COMP2, 1 DAC F DAC E DAC D AGND VAA DAC C DAC B DAC A VREF S_BLANK S_VSYNC S_HSYNC S0-S9
I/O I I I I I I I I I O O O O G P O O O I/O I/O I/O I/O I
63
CLKIN_B
I
64 REV. A
GND_IO
ADV7304A/ADV7305A
MPU PORT DESCRIPTION
The ADV7304A/ADV7305A supports a 2-wire serial (I2C compatible) microprocessor bus driving multiple peripherals. Two inputs, Serial Data (SDA) and Serial Clock (SCLK), carry information between any device connected to the bus. Each slave device is recognized by a unique address. The ADV7304A/ ADV7305A has four possible slave addresses for both read and write operations. These are unique addresses for each device and are illustrated in Figures 15 and 16. The LSB sets either a read or write operation. Logic Level "1" corresponds to a read operation, while Logic Level "0" corresponds to a write operation. A1 is set by setting the ALSB pin of the ADV7304A/ADV7305A to Logic Level "0" or Logic Level "1." When ALSB is set to "1," there is greater input bandwidth on the I2C lines, which allows high speed data transfers on this bus. When ALSB is set to "0," there is reduced input bandwidth on the I2C lines, which means that pulses of less than 50 ns will not pass into the I2C internal controller. This mode is recommended for noisy systems.
1 1 0 1 0 1 A1 ADDRESS CONTROL SET UP BY ALSB READ/WRITE CONTROL 0 1 WRITE READ X
A Logic "0" on the LSB of the first byte means that the master will write information to the peripheral. A Logic "1" on the LSB of the first byte means that the master will read information from the peripheral. The ADV7304A/ADV7305A acts as a standard slave device on the bus. The data on the SDA pin is 8 bits long, supporting the 7-bit addresses plus the R/W Bit. It interprets the first byte as the device address and the second byte as the starting subaddress. The subaddress's auto-increment allows data to be written to or read from the starting subaddress. A data transfer is always terminated by a stop condition. The user can also access any unique subaddress register on a one-by-one basis without having to update all the registers. Stop and start conditions can be detected at any stage during the data transfer. If these conditions are asserted out of sequence with normal read and write operations, it will cause an immediate jump to the idle condition. During a given SCLK high period, the user should issue only one start condition, one stop condition, or a single stop condition followed by a single start condition. If an invalid subaddress is issued by the user, the ADV7304A/ADV7305A will not issue an acknowledge and will return to the idle condition. If in Autoincrement Mode the user exceeds the highest subaddress, the following action will be taken: 1. In Read Mode, the highest subaddress register contents will continue to be output until the master device issues a no-acknowledge. This indicates the end of a read. A no-acknowledge condition is where the SDA line is not pulled low on the ninth pulse. 2. In Write Mode, the data for the invalid byte will not be loaded into any subaddress register, a no-acknowledge will be issued by the ADV7304A/ADV7305A, and the part will return to the idle condition. Before writing to the subcarrier frequency registers, it is a requirement that the ADV7304A/ADV7305A has been reset at least once since power-up. The four subcarrier frequency registers must be updated starting with Subcarrier Frequency Register 0. The subcarrier frequency will not update until the last subcarrier frequency register byte has been received by the ADV7304A/ADV7305A. Figure 17 illustrates an example of data transfer for a read sequence and the start and stop conditions. Figure 18 shows bus write and read sequences.
SDATA
Figure 15. ADV7304A Slave Address = D4h
0 1 0 1 0 1 A1 ADDRESS CONTROL SET UP BY ALSB READ/WRITE CONTROL 0 1 WRITE READ X
Figure 16. ADV7305A Slave Address = 54h
To control the various devices on the bus, the following protocol must be followed. First, the master initiates a data transfer by establishing a start condition, defined by a high-to-low transition on SDA, while SCLK remains high. This indicates that an address/ data stream will follow. All peripherals respond to the start condition and shift the next eight bits (7-bit address + R/W Bit). The bits are transferred from MSB down to LSB. The peripheral that recognizes the transmitted address responds by pulling the data line low during the ninth clock pulse. This is known as an Acknowledge Bit. All other devices withdraw from the bus at this point and maintain an idle condition. The idle condition is where the device monitors the SDA and SCLK lines waiting for the start condition and the correct transmitted address. The R/W Bit determines the direction of the data.
SCLOCK
S
1-7
8
9
1-7
8
9
1-7
8
9
P STOP
START ADRR R/W ACK
SUBADDRESS ACK
DATA
ACK
Figure 17. Bus Data Transfer
-14-
REV. A
ADV7304A/ADV7305A
WRITE SEQUENCE S SLAVE ADDR A(S) SUB ADDR A(S) DATA A(S) LSB = 1 SUB ADDR A(S) S SLAVE ADDR A(S) DATA A(M) DATA A(M) P DATA A(S) P LSB = 0 READ SEQUENCE S SLAVE ADDR A(S)
S = START BIT P = STOP BIT
A(S) = ACKNOWLEDGE BY SLAVE A(M) = ACKNOWLEDGE BY MASTER
A(S) = NO-ACKNOWLEDGE BY SLAVE A(M) = NO-ACKNOWLEDGE BY MASTER
Figure 18. Read and Write Sequence
REGISTER ACCESSES REGISTER PROGRAMMING
The MPU can write to or read from all of the registers of the ADV7304A/ADV7305A except the subaddress registers that are write-only registers. The subaddress register determines which register the next read or write operation accesses. All communications with the part through the bus start with an access to the subaddress register. Then a read/write operation is performed from/to the target address, which then increments to the next address until a stop command on the bus is performed.
The following section describes the functionality of each register. All registers can be read from as well as written to unless otherwise stated.
Subaddress Register (SR7-SR0)
The Communications Register is an 8-bit write-only register. After the part has been accessed over the bus and a read/write operation is selected, the subaddress is set up. The Subaddress Register determines to/from which register the operation takes place.
Register Select (SR7-SR0)
These bits are set up to point to the required starting address.
REV. A
-15-
ADV7304A/ADV7305A
Table I. Power Mode Register
Subaddress 00h Register Power Mode Register Bit Description Sleep Mode1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 1 PLL and Oversampling Control2 DAC F: Power On/Off 0 1 DAC E: Power On/Off 0 1 DAC D: Power On/Off 0 1 DAC C: Power On/Off 0 1 DAC B: Power On/Off 0 1 DAC A: Power On/Off 0 1 0 1 Sleep Mode Off Sleep Mode On PLL On PLL Off DAC F Off DAC F On DAC E Off DAC E On DAC D Off DAC D On DAC C Off DAC C On DAC B Off DAC B On DAC A Off DAC A On Reset Fch
NOTES 1 When enabled, the current consumption is reduced to A level. All DACs and the internal PLL circuit are disabled. I2C registers can be read from and written to. 2 This control allows the internal PLL circuit to be powered down and the oversampling to be switched off.
Table II. Input Mode Register
Subaddress Register 01h Input Mode Register Bit Description BTA T-1004 Compatibility Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 Disabled 1 Reserved Pixel Align 0 0 Enabled Zero must be written to this bit. Video input data starts with a Y0 bit. Only for PS Interleaved Mode. Video input data starts with a Cb0 bit. Must be set if the phase delay between the two input clocks is <9.25 ns or >27.75 ns. Only if two input clocks are used. SD Input Only PS Input Only HDTV Input Only SD and PS (20-Bit) SD and PS (10-Bit) SD and HDTV (SD Oversampled) SD and HDTV (HDTV Oversampled) PS 54 MHz Input Zero must be written to this bit. Reset 38h
1 Clock Align 0 1
Input Mode
0 0 0 0 1 1 1
0 0 1 1 0 0 1
0 1 0 1 0 1 0
1 Reserved 0
1
1
-16-
REV. A
ADV7304A/ADV7305A
Table III. Mode Register
Subaddress Register 02h Mode Register 0 Bit Description Reserved Test Pattern Black Bar 0 1 RGB Matrix 0 1 SYNC on RGB 0 1 RGB/YUV Output 0 1 SD SYNC 0 1 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 Zero must be written to these bits. Disabled Enabled. 0x11h, Bit 2 must also be enabled. Disable Programmable RGB Matrix Enable Programmable RGB Matrix No SYNC SYNC on all RGB Outputs RGB Component Outputs YUV Component Outputs No SYNC Output Output SD SYNCs on S_HSYNC and S_VSYNC No SYNC Output Output HD SYNCs on S_HSYNC and S_VSYNC LSB for GY LSB for RV LSB for BU LSB for GV LSB for GU X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Bits 9-2 for GY Bits 9-2 for GU Bits 9-2 for GV Bits 9-2 for BU Bits 9-2 for RV 4Eh 0Eh 24h 92h 7Ch 00h 00h 00h 00h 00h 00h Reset 20h
HD SYNC
0 1
03h 04h
RGB Matrix 0 RGB Matrix 1 X X X X X X X X X X X
X X
X X
03h F0h
05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh
RGB Matrix 2 RGB Matrix 3 RGB Matrix 4 RGB Matrix 5 RGB Matrix 6 Reserved Reserved Reserved Reserved Reserved Reserved
X X X X X
REV. A
-17-
ADV7304A/ADV7305A
Table IV. HD Mode Register
Subaddress 10h Register HD Mode Register 1 Bit Description HD Output Standard Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 1 1 HD Input Control Signals 0 0 HD 625 p 1 1 HD 720 p 0 1 HD BLANK Polarity 0 1 HD Macrovision for 525p/625 p 11h HD Mode Register 2 HD Pixel Data Valid 0 1 0 HD Test Pattern Enable 0 HD Test Pattern Hatch/Field HD VBI Open 0 1 HD Undershoot Limiter 0 1 0 0 HD Sharpness Filter 1 1 12h HD Mode Register 3 HD Y Delay wrt Falling Edge of HSYNC 0 1 0 0 0 HD Color Delay wrt Falling Edge of HSYNC 0 0 0 HD CGMS 0 1 HD CGMS CRC 0 1 0 0 1 1 0 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 EIA770.2 Output EIA770.1 Output Output Levels for Full Input Range Reserved HSYNC, VSYNC, BLANK EAV/SAV Codes 1 Async Timing Mode Reserved 525 p 625 p 1080 i 720 p BLANK Active High BLANK Active Low Macrovision Off Macrovision On Pixel Data Valid Off Pixel Data Valid On Reserved HD Test Pattern Off HD Test Pattern On Hatch Field/Frame Disabled Enabled Disabled -11 IRE -6 IRE -1.5 IRE Disabled Enabled 0 Clock Cycle 1 Clock Cycle 2 Clock Cycle 3 Clock Cycle 4 Clock Cycle 0 Clock Cycle 1 Clock Cycle 2 Clock Cycle 3 Clock Cycle 4 Clock Cycle Disabled Enabled 00h Reset 00h
-18-
REV. A
ADV7304A/ADV7305A
Table IV. HD Mode Register (continued)
Subaddress Register 13h HD Mode Register 4 Bit Description HD Cr/Cb Sequence2 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 1 0 HD Input Format 0 1 Sync Filter on DAC D, E, F 0 1 0 HD Chroma SSAF2 0 1 HD Chroma Input 0 1 HD Double Buffering 0 1 14h HD Mode Register 5 0 0 0 0 0 0 0 X Reset
Cb after Falling 4Ch Edge of HSYNC Cr after Falling Edge of HSYNC Reserved 8-Bit Input 10-Bit Input Disabled Enabled Reserved Disabled Enabled 4:4:4 4:2:2 Disabled Enabled A low-high-low 00h transition resets the internal HD timing counters. Zero must be written 00h to this bit. Disabled Enabled Disabled Enabled DAC E = Pr, DAC F = Pb DAC F = Pr, DAC E = Pb Gamma Curve A Gamma Curve B Disabled Enabled Mode A Mode B Disabled Enabled
15h
HD Mode Register 6
Reserved HD RGB Input 0 1 HD Sync on PrPb 0 1 HD Color DAC Swap3 0 1 HD Gamma Curve A/B 0 1 HD Gamma Curve Enable 0 1 HD Adaptive Filter Mode 0 1 HD Adaptive Filter Enable 0 1
0
NOTES 1 EAV/SAV codes are not supported for PS 1 2 4:2:2 Input Format Only 3 4:4:4 Input Format Only
10-Bit Interleaved Mode at 54 MHz.
REV. A
-19-
ADV7304A/ADV7305A
Table V. Register Settings
Subaddress Register 16h 17h 18h 19h 1Ah 1Bh 1Ch 1Dh 1Eh 1Fh 20h HD Y Color HD Cr Color HD Cb Color Reserved Reserved Reserved Reserved Reserved Reserved Reserved HD Sharpness Filter Gain HD Sharpness Filter Gain Value A 0 0 ... 0 1 ... 1 HD Sharpness Filter Gain Value B 0 0 ... 0 1 ... 1 21h 22h 23h 24h 25h 26h 27h 28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh 30h 31h 32h 33h 34h HD CGMS Data 0 HD CGMS Data 1 HD CGMS Data 2 HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma A HD Gamma B HD Gamma B HD Gamma B HD Gamma B HD Gamma B HD Gamma B HD Gamma B HD CGMS Data Bits HD CGMS Data Bits HD CGMS Data Bits HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points HD Gamma Points 0 C15 C7 0 0 ... 1 0 ... 1 0 C14 C6 X X X X X X X X X X X X X X X X X 0 0 ... 1 0 ... 1 0 C13 C5 X X X X X X X X X X X X X X X X X 0 1 ... 1 0 ... 1 0 C12 C4 X X X X X X X X X X X X X X X X X C19 C11 C3 X X X X X X X X X X X X X X X X X C18 C10 C2 X X X X X X X X X X X X X X X X X C17 C9 C1 X X X X X X X X X X X X X X X X X C16 C8 C0 X X X X X X X X X X X X X X X X X 0 0 ... 1 0 ... 1 0 0 ... 1 0 ... 1 0 1 ... 1 0 ... 1 Gain A = 0 Gain A = +1 ... Gain A = +7 Gain A = -8 ... Gain A = -1 Gain B = 0 Gain B = +1 ... Gain B = +7 Gain B = -8 ... Gain B = -1 CGMS 19-16 CGMS 15-8 CGMS 7-0 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4 B5 B6 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting X X X X X X X X X X X X X X X X X X X X X X X X Y Color Value Cr Color Value Cb Color Value Reset A0h 80h 80h 00h 00h 00h 00h 00h 00h 00h 00h
Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve A Data X Curve B Data X Curve B Data X Curve B Data X Curve B Data X Curve B Data X Curve B Data X Curve B Data X
-20-
REV. A
ADV7304A/ADV7305A
Table VI. HD Adaptive Filters
Subaddress Register 38h HD Adaptive Filter Gain 1 Bit Description HD Adaptive Filter Gain 1 Value A Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 1 1 HD Adaptive Filter Gain 1 0 Value B 0 0 1 1 39h HD Adaptive Filter Gain 2 HD Adaptive Filter Gain 2 Value A 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 1 1 HD Adaptive Filter Gain 2 0 Value B 0 0 1 1 3Ah HD Adaptive Filter Gain 3 HD Adaptive Filter Gain 3 Value A 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 0 1 1 HD Adaptive Filter Gain 3 0 Value B 0 0 1 1 3Bh 3Ch 3Dh HD Adaptive Filter Threshold A HD Adaptive Filter Threshold B HD Adaptive Filter Threshold C HD Adaptive Filter Threshold A Value HD Adaptive Filter Threshold B Value HD Adaptive Filter Threshold C Value X X X 0 0 1 0 1 X X X 0 0 1 0 1 X X X 0 1 1 0 1 X X X X X X X X X X X X X X X 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 0 0 1 0 1 0 0 1 0 1 0 1 1 0 1 Gain A = 0 Gain A = +1 Gain A = +7 Gain A = -8 Gain A = -1 Gain B = 0 Gain B = +1 Gain B = +7 Gain B = -8 Gain B = -1 Gain A = 0 Gain A = +1 Gain A = +7 Gain A = -8 Gain A = -1 Gain B = 0 Gain B = +1 Gain B = +7 Gain B = -8 Gain B = -1 Gain A = 0 Gain A = +1 Gain A = +7 Gain A = -8 Gain A = -1 Gain B = 0 Gain B = +1 Gain B = +7 Gain B = -8 Gain B = -1 Threshold A Threshold B Threshold C 00hex 00hex 00hex 00hex 00hex Reset 00hex
REV. A
-21-
ADV7304A/ADV7305A
Table VII. SD Mode Registers
Subaddress Register 3Eh 3Fh 40h Reserved Reserved SD Mode Register 0 SD Standard 0 0 1 1 SD Luma Filter 0 0 0 0 1 1 1 1 SD Chroma Filter 0 0 0 0 1 1 1 1 41h 42h Reserved SD Mode Register 1 SD UV SSAF 0 1 SD DAC Output 1* 0 Disabled Enabled DAC A, B, C: CVBS, L, C; DAC D, E, F: GBR or YUV DAC A, B, C: GBR or YUV; DAC D, E, F: CVBS, L, C Swap DAC A and DAC D Outputs Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 NTSC PAL B, D, G, H, I PAL M PAL N LPF NTSC LPF PAL Notch NTSC Notch PAL SSAF Luma Luma CIF Luma QCIF Reserved 1.3 MHz 0.65 MHz 1.0 MHz 2.0 MHz Reserved Chroma CIF Chroma QCIF 3.0 MHz 00h 08h Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting Reset 00h 00h 00h
1
SD DAC Output 2
0 1
SD Pedestal
0 1
SD Square Pixel
0 1
SD VCR FF/RW Sync
0 1
SD Pixel Data Valid
0 1
SD Active Video Edge
0 1
-22-
REV. A
ADV7304A/ADV7305A
Table VII. SD Mode Registers (continued)
Subaddress Register 43h SD Mode Register 2 Bit Description SD Pedestal YUV Output Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 1 SD Output Levels Y 0 1 SD Output Levels UV 0 0 1 1 SD VBI Open 0 1 SD CC Field Control 0 0 1 1 1 44h SD Mode Register 3 SD VSYNC-3H 0 1 0 1 0 1 0 1 0 1 No Pedestal on YUV 7.5 IRE Pedestal on YUV Y = 700 mV/300 mV Y = 714 mV/286 mV 700 mV p-p [PAL]; 1000 mV p-p [NTSC] 700 mV p-p 1000 mV p-p 648 mV p-p Disabled Enabled CC Disabled CC on Odd Field Only CC on Even Field Only CC on Both Fields Reserved Disabled VSYNC = 2.5 lines [PAL]; VSYNC = 3 lines [NTSC] Genlock Disabled Subcarrier Reset Timing Reset RTC Enabled 720 Pixels 710 (NTSC); 702(PAL) Chroma Enabled Chroma Disabled Enabled Disabled Disabled Enabled Zero must be written to this bit. 00h 00h SD UV Scale 0 1 SD Y Scale 0 1 SD Hue Adjust 0 1 SD Brightness 0 1 SD Luma SSAF Gain 0 1 Reserved Reserved Reserved 0 0 0 Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit. 00h 00h Reset 00h
SD RTC/TR/SCR
0 0 1 1
0 1 0 1
SD Active Video Length
0 1
SD Chroma
0 1
SD Burst
0 1
SD Color Bars
0 1
Reserved 45h 46h 47h Reserved Reserved SD Mode Register 4
0
REV. A
-23-
ADV7304A/ADV7305A
Table VII. SD Mode Registers (continued)
Subaddress Register 48h SD Mode Register 5 Bit Description Reserved Reserved SD Double Buffering Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 Zero must be written to this bit. 0 Zero must be written to this bit. 0 Disabled 1 SD Input Format 0 0 1 1 SD Digital Noise Reduction SD Gamma Control 0 1 SD Gamma Curve 0 1 49h SD Mode Register 6 SD Undershoot Limiter 0 0 1 1 SD Black Burst Output on DAC Y SD Black Burst Output on DAC Luma SD Chroma Delay 0 0 1 1 Reserved Reserved
*For more detail, see Input and Output Configuration section.
Reset
00h
Enabled 8-Bit Input 16-Bit Input 10-Bit Input 20-Bit Input Disabled Enabled Disabled Enabled Gamma Curve A Gamma Curve B 0 1 0 1 Disabled -11 IRE -6 IRE -1.5 IRE Disabled Enabled Disabled Enabled Disabled 4 Clock Cycles 8 Clock Cycles Reserved Zero must be written to this bit. Zero must be written to this bit. 00h
0 1 0 1
0 1
0 1 0 1 0 1 0 1
0 0
-24-
REV. A
ADV7304A/ADV7305A
Table VIII. SD Registers
Subaddress 4Ah Register SD Timing Register 0 Bit Description SD Slave/Master Mode Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 1 SD Timing Mode 0 0 1 1 SD BLANK Input 0 1 SD Luma Delay 0 0 1 1 SD Min. Luma Value 0 1 SD Timing Reset X 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 Slave Mode Master Mode Mode 0 Mode 1 Mode 2 Mode 3 Enabled Disabled No Delay 2 Clock Cycles 4 Clock Cycles 6 Clock Cycles -40 IRE -7.5 IRE A low-high-low transistion will reset the internal SD timing counters. Ta = 1 Clock Cycle Ta = 4 Clock Cycles Ta = 16 Clock Cycles Ta = 128 Clock Cycles Tb = 0 Clock Cycle Tb = 4 Clock Cycles Tb = 8 Clock Cycles Tb = 18 Clock Cycles Tc = Tb Tc = Tb + 32 s 1 Clock Cycle 4 Clock Cycles 16 Clock Cycles 128 Clock Cycles 0 Clock Cycle 1 Clock Cycle 2 Clock Cycles 3 Clock Cycles X X X X X X X X X 15 23 15 23 X X X X X X X X X 14 22 14 22 X X X X X X X X X 13 21 13 21 X X X X X X X X X 12 20 12 20 X X X X X X X X X 11 19 11 19 X X X X X X X X X 10 18 10 18 Subcarrier Frequency Bits 7-0 Subcarrier Frequency Bits 15-8 Subcarrier Frequency Bits 23-16 Subcarrier Frequency Bits 31-24 Subcarrier Phase Bits 9-2 Extended Data Bits 7-0 Extended Data Bits 15-8 Data Bits 7-0 Data Bits 15-8 16h 7Ch F0h 21h 00h 00h 00h 00h 00h 00h Reset 08h
4Bh
SD Timing Register 1
SD HSYNC Width
0 0 1 1
0 1 0 1
SD HSYNC to VSYNC Delay
0 0 1 1
0 1 0 1
SD HSYNC to VSYNC Rising Edge Delay (Mode 1 Only); VSYNC Width (Mode 2 Only)
X X 0 0 1 1
0 1 0 1 0 1
HSYNC to Pixel Data Adjust
0 0 1 1
0 1 0 1 X X X X X X X X X 16 24 16 24
4Ch 4Dh 4Eh 4Fh 50h 51h 52h 53h 54h 55h 56h 57h 58h
SD FSC Register 0 SD FSC Register 1 SD FSC Register 2 SD FSC Register 3 SD FSC Phase SD Closed Captioning Extended Data on Even Fields SD Closed Captioning Extended Data on Even Fields SD Closed Captioning Data on Odd Fields SD Closed Captioning Data on Odd Fields SD Pedestal Register 0 Pedestal on Odd Fields SD Pedestal Register 1 Pedestal on Odd Fields SD Pedestal Register 2 Pedestal on Even Fields SD Pedestal Register 3 Pedestal on Even Fields
X X X X X X X X X 17 25 17 25
Setting any of these bits 00h to 1 will disable pedestal on the line 00h number indicated by the bit settings. 00h 00h
REV. A
-25-
ADV7304A/ADV7305A
Table VIII. SD Registers (continued)
Subaddress Register 59h SD CGMS/WSS 0 Bit Description SD CGMS Data SD CGMS CRC 0 1 SD CGMS on Odd Fields 0 1 SD CGMS on Even Fields 0 1 SD WSS 0 1 5Ah SD CGMS/WSS 1 SD CGMS/WSS Data 13 12 11 10 9 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 19 18 17 16 CGMS Data Bits C19-C16 Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled CGMS Data Bits 00h C13-C8 or WSS Data Bits C13-C8 CGMS Data Bits C15-C14 CGMS/WSS Data Bits 00h C7-C0 SD Y Scale Bits 1-0 SD U Scale Bits 1-0 SD V Scale Bits 1-0 Subcarrier Phase Bits 1-0 SD Y Scale Bits 7-2 SD V Scale Bits 7-2 SD U Scale Bits 7-2 Reset 00h
15 5Bh 5Ch SD CGMS/WSS 2 SD LSB Register SD CGMS/WSS Data SD LSB for Y Scale Value SD LSB for U Scale Value SD LSB for V Scale Value SD LSB for FSC Phase 5Dh 5Eh 5Fh 60h 61h SD Y Scale Register SD V Scale Register SD U Scale Register SD Hue Register SD Brightness/WSS SD Y Scale Value SD V Scale Value SD U Scale Value SD Hue Adjust Value SD Brightness Value SD Blank WSS Data* 0 1 62h SD Luma SSAF SD Luma SSAF Gain/Attenuation 0 0 0 63h SD DNR 0 Coring Gain Border X X X X X 7
14 6 5 4 3 2 1 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 0 X
00h 00h 00h
SD Hue Adjust Bits 00h 7-0 SD Brightness Bits 6-0 00h Disabled Enabled
0 0 0
0 0 0
0 0 0
0 0 1 0 0 0 0 0 0 0 0 1
0 1 1 0 0 0 0 1 1 1 1 0
0 1 0 0 0 1 1 0 0 1 1 0
0 0 0 0 1 0 1 0 1 0 1 0
-4 dB 0 dB +4 dB No Gain +1/16 (-1/8 in DNR Mode) +2/16 (-2/8 in DNR Mode) +3/16 (-3/8 in DNR Mode) +4/16 (-4/8 in DNR Mode) +5/16 (-5/8 in DNR Mode) +6/16 (-6/8 in DNR Mode) +7/16 (-7/8 in DNR Mode) +8/16 (-1 in DNR Mode) No Gain +1/16 (-1/8 in DNR Mode) +2/16 (-2/8 in DNR Mode) +3/16 (-3/8 in DNR Mode) +4/16 (-4/8 in DNR Mode) +5/16 (-5/8 in DNR Mode) +6/16 (-6/8 in DNR Mode) +7/16 (-7/8 in DNR Mode) +8/16 (-1 in DNR Mode)
00h
00h
Coring Gain Data
0 0 0 0 0 0 0 0 1
0 0 0 0 1 1 1 1 0
0 0 1 1 0 0 1 1 0
0 1 0 1 0 1 0 1 0
-26-
REV. A
ADV7304A/ADV7305A
Table VIII. SD Registers (continued)
Subaddress Register 64h SD DNR 1 Bit Description DNR Threshold Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 0 0 0 0 0 0 0 1 1 Border Area 0 1 Block Size Control 0 1 65h SD DNR 2 DNR Input Select 0 0 0 1 DNR Mode 0 1 DNR Block Offset 0 0 1 1 66h 67h 68h 69h 6Ah 6Bh 6Ch 6Dh 6Eh 6Fh 70h 71h 72h 73h 74h 75h 76h 77h 78h 79h 7Ah 7Bh SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma A SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Gamma B SD Brightness SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve A Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points SD Gamma Curve B Points Detect SD Brightness Value Field Count Reserved Reserved Reserved Reserved Code X X 0 0 0 Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X Data X X 0 0 1 1 X X X X X X X X X X X X X X X X X X X X X 0 0 1 1 X X X X X X X X X X X X X X X X X X X X X 0 1 0 1 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 0 1 1 0 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 1 0 1 1 62 63 2 Pixels 4 Pixels 8 Pixels 16 Pixels Filter A Filter B Filter C Filter D DNR Mode DNR Sharpness Mode 0 Pixel Offset 1 Pixel Offset 14 Pixel Offset 15 Pixel Offset A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 Read-Only Read-Only Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit. Read-Only 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h Reset 00h
Field Count Register
REV. A
-27-
ADV7304A/ADV7305A
Table VIII. SD Registers (continued)
Subaddress 7Ch Register Reset Register Bit Description Timing Reset Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting 0 Reset
No reset of Timing 00h Generator in Subcarrier Reset Mode. 44h, Bits 1 and 2 must be set to Subcarrier Reset. Reset Timing Generator in Subcarrier Reset Mode Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit. Zero must be written to this bit.
1
Reserved Reserved Reserved Reserved Reserved Reserved Reserved 0 0 0 0 0 0
0
*Line 23
LINE 1 HSYNC LINE 313 LINE 314
tA tB tC
VSYNC
Figure 19. Timing Register 1 in PAL Mode
Table IX. Macrovision Registers*
Subaddress Register 7Dh Reserved 7Eh 7Fh 80h 81h 82h 83h 84h 85h 86h 87h 88h 89h 8Ah 8Bh 8Ch 8Dh 8Eh 8Fh 90h 91h Reserved Reserved Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision Macrovision MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bits MV Control Bit 0 0 0 0 0 0 0 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X MV 3a [7:0] MV 3b [15:8] MV 3c [23:16] MV 3d [31:24] MV 3e [39:32] MV 3f [47:40] MV 40 [55:48] MV 41 [63:56] MV 42 [71:64] MV 43 [79:72] MV 44 [87:80] MV 45 [95:88] MV 46 [103:96] MV 47 [111:104] MV 48 [119:112] MV 49 [127:120] MV 4A [135:128] MV 4B [136] Zero must be written to these bits. 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h 00h Bit Description Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Register Setting Reset
*Macrovision Registers are only available on the ADV7304A.
-28-
REV. A
ADV7304A/ADV7305A
INPUT AND OUTPUT CONFIGURATION STANDARD DEFINITION ONLY
The 8- or 10-bit multiplexed input data is input on Pins S9-S0, with S0 being the LSB in 10-bit Input Mode. For 8-bit Input Mode, the data is input on Pins S9-S2. ITU-R.BT601/ITUR.BT656 input standards are supported. In 16-bit Input Mode, the Y pixel data is input on Pins S9-S2 and CrCb data on Pins Y9-Y2. In 20-bit Input Mode, the Y pixel data is input on S9-S0 and CrCb pixel data on Pins Y9-Y0. The 27 MHz clock input must be input on Pin CLKIN_A. Input sync signals are optional and are input on the S_VSYNC, S_HSYNC, and S_BLANK pins.
ADV7304A/ ADV7305A
3 MPEG2 DECODER 27MHz S_VSYNC S_HSYNC S_BLANK CLKIN_A
Register at Address 01h accordingly. If the YCrCb data does not conform to SMPTE293M (525 p), ITU-R.BT1358M (625 p), SMPTE274M (1080 i), SMPTE296M (720 p), or BTA-T1004, the Async Timing Mode must be used. The 8- or 10-bit standard definition data must be compliant to ITU-R.BT601/ITU-R.BT656 in 4:2:2 format. Standard definition data is input on Pins S9-S0, with S0 being the LSB. Using 8-bit input format, the data is input on Pins S9-S2. The clock input for SD must be input on CLKIN_A, and the clock input for HD must be input on CLKIN_B. Synchronization signals are optional. SD syncs are input on Pins S_VSYNC, S_HSYNC, and S_BLANK; the HD syncs on Pins P_VSYNC, P_HSYNC, and P_BLANK.
ADV7304A/ ADV7305A
MPEG2 DECODER YCrCb 3 27MHz 10 S_VSYNC S_HSYNC S_BLANK CLKIN_A S9-S0
YCrCb
10
CrCb 10
S9-S0
INTERLACED TO PROGRESSIVE
C9-C0 Y9-Y0 P_VSYNC P_HSYNC P_BLANK
Y
10 3
Figure 20. Standard Definition Only Input Mode
PROGRESSIVE SCAN ONLY OR HDTV ONLY
YCrCb Progressive Scan, HDTV, or any other HD YCrCb data can be input in 4:2:2 or 4:4:4 format. In 4:2:2 Input Mode, the Y data is input on Pins Y9-Y0 and the CrCb data on Pins C9-C0. In 4:4:4 Input Mode, Y data is input on Pins Y9-Y0, Cb data on Pins C9-C0, and Cr data on Pins S9-S0. If the YCrCb data does not conform to SMPTE293M (525 p), ITU-R.BT1358M (625 p), SMPTE274M (1080 i), SMPTE296M (720 p), or BTA-T1004, the Async Timing Mode must be used. RGB data can only be input in 4:4:4 format in PS Input Mode only, or HDTV Input Mode only, when HD RGB input is enabled. G data is input on Pins Y9-Y0, R data on S9-S0, and B data on Pins C9-C0. The clock signal must be input on Pin CLKIN_A. Synchronization signals are optional and are input on Pins P_VSYNC, P_HSYNC, and P_BLANK.
MPEG2 DECODER YCrCb 27MHz Cr 10 Cb 10 INTERLACED TO PROGRESSIVE Y 10 3
27MHz
CLKIN_B
Figure 22. Simultaneous Progressive Scan and SD Input
ADV7304A/ ADV7305A
3 SDTV DECODER 27MHz YCrCb 8 HDTV DECODER CrCb 1080 i Y 720 p S_VSYNC S_HSYNC S_BLANK CLKIN_A S9-S2
8 8 3
C9-C2 Y9-Y2 P_VSYNC P_HSYNC P_BLANK CLKIN_B
ADV7304A/ ADV7305A
CLKIN_A S9-S0 C9-C0 Y9-Y0 P_VSYNC P_HSYNC P_BLANK
74MHz
Figure 23. Simultaneous HDTV and SD Input
Figure 21. Progressive Scan Only Input Mode
SIMULTANEOUS STANDARD DEFINITION AND PROGRESSIVE SCAN OR HDTV
If in Simultaneous Input Mode the two clock phases differ by less than 9.25 ns or more than 27.75 ns, the Clock Align Bit must be set accordingly. This also applies if the Pixel Align Bit is set. If the application uses the same clock source for both SD and PS, the Clock Align Bit must be set since the phase difference between both inputs is less than 9.25 ns.
YCrCb PS, HDTV, or any other HD data must be input in 4:2:2 format. In 4:2:2 Input Mode, the Y data is input on Pins Y9-Y0 and the CrCb data on C9-C0. If PS 4:2:2 data is interleaved onto a single 10-bit bus, Pins Y9-Y0 are used for the Input Port. The interleaved data is to be input at 27 MHz in setting the Input Mode
tDELAY tDELAY
9.25ns OR 27.75ns
Figure 24. Clock Phase with Two Input Clocks
REV. A
-29-
ADV7304A/ADV7305A
PROGRESSIVE SCAN AT 27 MHz OR 54 MHz
CLKIN_A
YCrCb progressive scan data can be input at 27 MHz or 54 MHz. The input data is interleaved onto a single 10-bit bus and is input on Pins Y9-Y0. For PS Input Only Mode, the input clock must be input on CLKIN_A. In Simultaneous SD/HD Mode, the input clock is input on CLKIN_B.
MPEG2 DECODER YCrCb 27MHz OR 54MHz
PIXEL INPUT DATA
3FF
00
00
XY
Y0
Cb0
Y1
Cr0
Figure 26. Input Sequence in PS 10-Bit Interleaved Mode, EAV/SAV Followed by Y0 Data
ADV7304A/ ADV7305A
CLKIN_A
INTERLACED TO PROGRESSIVE
YCrCb 10 3
Y9-Y0 P_VSYNC P_HSYNC P_BLANK
If the input sequence starts with Cb0 data as shown in Figure 27, initially PIXEL ALIGN [Subaddress 01h] must be set to "0." This ensures that the ADV7304A/ADV7305A locks to the input sequence in decoding the embedded timing information correctly. For correct color decoding, the Pixel Align Bit [Subaddress 01h] must then be set to "l" after a delay of one field. The ADV7304A/ADV7305A is now in Free Run Mode, any changes in the timing information are ignored.
CLKIN_A
Figure 25. 1
10-Bit PS @ 27 MHz or 54 MHz
PIXEL INPUT DATA
3FF
00
00
XY
Cb0
Y0
Cr0
Y1
When the input sequence of the PS data, i.e., 10-bit interleaved at 27 MHz, starts with Y0 data, as shown in Figure 26, PIXEL ALIGN [Subaddress 01h] must be set to "0." In this case, the timing information embedded in the data stream is recognized and the video data is transferred to the according Y channel and CrCb channel processing blocks.
Figure 27. Input Sequence in PS 10-Bit Interleaved Mode, EAV/SAV Followed by Cb0 Data
PS 10-bit interleaved at 54 MHz must be input with separate timing signals. EAV/SAV codes cannot be used in this mode.
-30-
REV. A
ADV7304A/ADV7305A
Table X. Overview of All Possible Input Configurations
Input Format ITU-R.BT656 Total Bits 8 10 16 Input Video Input Pins 4:2:2 YCrCb 4:2:2 YCrCb 4:2:2 Y CrCb 20 4:2:2 Y CrCb PS Only 8 (27 MHz Clock) 4:2:2 YCrCb S9-S2 [MSB = S9] S9-S0 [MSB = S9] S9-S2 [MSB = S9] Y9-Y2 [MSB = Y9] S9-S0 [MSB = S9] Y9-Y0 [MSB = Y9] Y9-Y2 [MSB = Y9] Y9-Y0 [MSB = Y9] Y9-Y2 [MSB = Y9] Y9-Y0 [MSB = Y9] Y9-Y2 [MSB = Y9] C9-C2 [MSB = C9] Y9-Y0 [MSB = Y9] C9-C0 [MSB = C9] Y9-Y2 [MSB = Y9] C9-C2 [MSB = C9] S9-S2 [MSB = S9] Y9-Y0 [MSB = Y9] C9-C0 [MSB= C9] S9-S0 [MSB = S9] Y9-Y2 [MSB = Y9] Y9-Y0 [MSB = Y9] Y9-Y2 [MSB = Y9] C9-Y2 [MSB = C9] Y9-Y0 [MSB = Y9] C9-C0 [MSB = C9] Y9-Y2 [MSB = Y9] C9-Y2 [MSB = C9] S9-S2 [MSB = S9] Y9-Y0 [MSB = Y9] C9-C0 [MSB = C9] S9-S0 [MSB = S9] Y9-Y2 [MSB = Y9] C9-C2 [MSB = C9] S9-S2 [MSB = S9] Y9-Y0 [MSB = Y9] C9-C0 [MSB = C9] S9-S0 [MSB = S9] S9-S2 [MSB = S9] Y9-Y2 [MSB = Y9] 01h 13h 48h SD 10 PS 10 4:2:2 YCrCb 4:2:2 YCrCb S9-S0 [MSB = S9] Y9-Y0 [MSB = Y9] 01h 13h 48h ITU-R.BT656 SD 8 and PS or HDTV HD 16 4:2:2 YCrCb 4:2:2 Y CrCb SD 10 HD 20 4:2:2 YCrCb 4:2:2 Y CrCb S9-S2 [MSB = S9] Y9-Y2 [MSB = Y9] 01h 13h 40h 40h 00h 40h 44h 10h 30h, 50h, or 60h 40h 00h 30h, 50h, or 60h 44h 10h 01h, 13h, 15h 10h or 20h, 04h, 02h 01h, 13h, 15h 10h or 20h, 00h, 02h 01h, 13h 20h, 04h 01h, 13h 20h, 00h 01h, 13h 20h, 44h 01h, 13h 01h, 13h 01h, 13h 20h, 40h 20h, 44h 20h, 40h 01h, 13h 10h, 04h 01h, 13h 10h, 00h 01h, 13h 10h, 44h 01h, 13h 01h, 13h 01h, 13h 01h, 13h 01h, 13h 10h, 40h 10h, 44h 70h, 40h 10h, 44h 10h, 40h 01h, 48h 00h, 18h Subaddress Register Setting 01h, 48h 01h, 48h 01h, 48h 00h, 00h 00h, 10h 00h, 08h
10 (27 MHz Clock) 4:2:2 YCrCb 8 (54 MHz Clock) 4:2:2 YCrCb
10 (54 MHz Clock) 4:2:2 YCrCb 16 4:2:2 Y CrCb 20 4:2:2 Y CrCb 24 4:4:4 Y Cb Cr 30 4:4:4 Y Cb Cr HDTV Only 8 10 16 4:2:2 YCrCb 4:2:2 YCrCb 4:2:2 Y CrCb 20 4:2:2 Y CrCb 24 4:4:4 Y Cb Cr 30 4:4:4 Y Cb Cr HD RGB 24 4:4:4 G B R 30 4:4:4 G B R ITU-R.BT656 and PS SD 8 PS 8 4:2:2 YCrCb 4:2:2 YCrCb
C9-C2 [MSB = C9] 4 8 h S9-S0 [MSB = S9] Y9-Y0 [MSB = Y9] 01h 13h
C9-C0 [MSB = C9] 4 8 h
REV. A
-31-
ADV7304A/ADV7305A
OUTPUT CONFIGURATION
Tables XI-XIII demonstrate what output signals are assigned to the DACs when corresponding control bits are set.
Table XI. Output Configuration in SD Only Mode
RGB/YUV O/P Addr 02h, Bit 5 0 0 0 0 1 1 1 1
SD DAC O/P 1 Addr 42h, Bit 2 0 0 1 1 0 0 1 1
SD DAC O/P 2 Addr 42h, Bit 1 0 1 0 1 0 1 0 1
DAC A CVBS G G CVBS CVBS Y Y CVBS
DAC B Luma B Luma B Luma U Luma U
DAC C Chroma R Chroma R Chroma V Chroma V
DAC D G CVBS CVBS G Y CVBS CVBS Y
DAC E B Luma B Luma U Luma U Luma
DAC F R Chroma R Chroma V Chroma V Chroma
Table XII. Output Configuration in HD Only Mode
HD I/P Format YCrCb 4:2:2 YCrCb 4:2:2 YCrCb 4:2:2 YCrCb 4:2:2 YCrCb 4:4:4 YCrCb 4:4:4 YCrCb 4:4:4 YCrCb 4:4:4 RGB 4:4:4 RGB 4:4:4 RGB 4:4:4 RGB 4:4:4
HD RGB I/P Addr 15h, Bit 1 N/A N/A N/A N/A N/A N/A N/A N/A 1 1 1 1
RGB/YUV O/P Addr 02h, Bit 5 0 0 1 1 0 0 1 1 0 0 1 1
HD Color Swap Addr 15h, Bit 3 0 1 0 1 0 1 0 1 0 1 0 1
DAC A DAC B DAC C DAC D DAC E DAC F N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A G G Y Y G G Y Y G G G G B R Pb Pr B R Pb Pr B R B R R B Pr Pb R B Pr Pb R B R B
Table XIII. Output Configuration in Simultaneous SD/HD Mode
Input Formats SD YCrCb in 4:2:2 and HD YCrCb in 4:2:2 SD YCrCb in 4:2:2 and HD YCrCb in 4:2:2 SD YCrCb in 4:2:2 and HD YCrCb in 4:2:2 SD YCrCb in 4:2:2 and HD YCrCb in 4:2:2
RGB/YUV O/P Addr 02h, Bit 5 0 0 1 1
HD Color Swap Addr 15h, Bit 3 0 1 0 1
DAC A CVBS CVBS CVBS CVBS
DAC B Luma Luma Luma Luma
DAC C Chroma Chroma Chroma Chroma
DAC D G G Y Y
DAC E B R Pb Pr
DAC F R B Pr Pb
-32-
REV. A
ADV7304A/ADV7305A
TIMING MODES HD Async Timing Mode [Subaddress 10h, Bits 3-2]
For any input data that does not conform to SMPTE293M, SMPTE274M, SMPTE296M, or ITU-R.BT1358 standards, an Asynchronous Timing Mode can be used to interface to the ADV7304A/ADV7305A. Timing control signals for HSYNC, VSYNC, and BLANK have to be programmed by the user. Macrovision is not available in Async Timing Mode. Figure 28 shows an example of how to program the ADV7304A/ ADV7305A to accept a different high definition standard other than SMPTE293M, SMPTE274M, SMPTE296M, or ITU-R.BT1358 standards. Table XIV must be followed when programming the control signals in Async Timing Mode.
HD Timing Reset
a. A timing reset is achieved in a low-to-high transition on the RTC_SCR_TR pin (Pin 31). In this state, the horizontal and vertical counters will remain reset. On releasing this pin (set to low), the internal counters will again commence counting. The minimum time the pin has to be held high is one clock cycle; otherwise, this reset signal might not be recognized. This timing reset applies to the SD timing counters only. b. Subcarrier phase reset, a low-to-high transition on the RTC_SCR_TR pin (Pin 31), will reset the subcarrier phase to zero when the SD RTC/TR/SCR control bits at Address 44h are set to "01." This reset signal will have to be held high for a minimum of one clock cycle. Since the Field Counter is not reset, it is recommended to apply the reset in Field 7 (PAL). The reset of the phase will then occur on the next field by being correctly lined up with the internal counters. The Field Count Register at Address 7Bh can be used to identify the number of the active field. c. In RTC Mode, the ADV7304A/ADV7305A can be used to lock to an external video source. The Realtime Control Mode allows the ADV7304A/ADV7305A to automatically alter the subcarrier frequency to compensate for line length variations. When the part is connected to a device that outputs a digital data stream in the RTC format (such as a ADV7185 video decoder, see Figure 29), the part will automatically change to the compensated subcarrier frequency on a line-by-line basis. This digital data stream is 67 bits wide and the subcarrier is contained in Bits 0 to 21. Each bit is two clock cycles long. 00h should be written into all four Subcarrier Frequency Registers when using this mode.
A timing reset is achieved in setting the HD Timing Reset Control Bit at Address 14h from "0" to "1." In this state, the horizontal and vertical counters will remain reset. On setting this bit back to "0," the internal counters will again commence counting. The minimum time the pin has to be held high is one clock cycle; otherwise, this reset signal might not be recognized. This timing reset applies to the HD timing counters only.
SD Timing Realtime Control, Subcarrier Reset, Timing Reset [Subaddress 44h, Bits 2-1]
Together with the RTC_SCR_TR pin and SD Mode Register 3 [Address 44h, Bits 1-2], the ADV7304A/ADV7305A can be used in Timing Reset Mode, Subcarrier Phase Reset Mode, or RTC Mode.
CLK P_HSYNC PROGRAMMABLE INPUT TIMING
P_VSYNC
P_BLANK*
HORIZONTAL SYNC
ACTIVE VIDEO
ANALOG OUTPUT
81 a *SET ADDRESS 10h, BIT 6 TO "1"
66 b
66 c
243 d
1920 e
Figure 28. Async Timing Mode, Programming Input Control Signals for SMPTE295M Compatibility
REV. A
-33-
ADV7304A/ADV7305A
Table XIV. Truth Table
P_HSYNC 10 0 01 1 1
P_VSYNC1 0 01 0 or 1 0 or 1 0 or 1
P_BLANK1 0 or 1 0 or 1 0 01 10 50% point of falling edge of tri-level horizontal sync signal 25% point of rising edge of tri-level horizontal sync signal 50% point of falling edge of tri-level horizontal sync signal 50% start of active video 50% end of active video
Reference2 a b c d e
NOTES For standards that do not require a tri-sync level, P_BLANK must be tied low at all times. 1 When Async Timing Mode is enabled, P_BLANK, Pin 25 becomes an active high input. P_BLANK is set to active low at Address 10h, Bit 6. 2 See Figure 28.
ADV7304A/ ADV7305A
CLKIN_A LCC1 COMPOSITE VIDEO1 DAC A DAC B GLL RTC_SCR_TR DAC C DAC D S9-S0 DAC E DAC F H/L TRANSITION 14 BITS COUNT START LOW RESERVED 128 13 0 RTC TIME SLOT 01 14 NOT USED 19 VALID INVALID SAMPLE SAMPLE 8/LINE LOCKED CLOCK 6768 4 BITS RESERVED FSC PLL INCREMENT2 SEQUENCE BIT3 0 RESET BIT4 RESERVED
ADV7185
P19-P10 VIDEO DECODER
21
5 BITS RESERVED NOTES 1i.e., VCR OR CABLE 2F SC PLL INCREMENT IS 22 BITS LONG. VALUED LOADED INTO ADV7304A/ADV7305A FSC DDS REGISTER IS FSC PLL INCREMENTS BITS 21:0 PLUS BITS 0:9 OF SUBCARRIER FREQUENCY REGISTERS. ALL ZEROS SHOULD BE WRITTEN TO THE SUBCARRIER FREQUENCY REGISTERS OF THE ADV7304A/ADV7305A. 3PAL: 0 = LINE NORMAL, 1 = LINE INVERTED; NTSC: 0 = NO CHANGE 4RESET ADV7304A/ADV7305A DDS
Figure 29. RTC Timing and Connections
SD VCR FF/RW Sync [Subaddress 42h, Bit 5]
In DVD record applications where the encoder is used with a decoder, the VCR FF/RW Sync Control Bit can be used for nonstandard input video, i.e., in Fast Forward or Rewind Modes. In Fast Forward Mode, the sync information for the start of a new field in the incoming video usually occurs before the total number of lines/fields are reached; in Rewind Mode, this sync signal occurs usually after the total number of lines/fields are reached. Conventionally, this means that the output video will have an erroneous start of new field signals, one generated by the incoming video and one when the internal lines/field counters reach the end of a field. When VCR FF/RW sync control is
RESET
enabled [Subaddress 42h, Bit 5], the lines/field counters are updated according to the incoming VSYNC signal, and the analog output matches the incoming VSYNC signal. This control is available in all slave timing modes except Slave Mode 0.
RESET SEQUENCE
A reset is activated with a high-to-low transition on the RESET pin (Pin 33) according to the timing specifications. The ADV7304A/ADV7305A will revert to the default output configuration. Figure 30 illustrates the RESET sequence timing.
DACs
OFF
VALID VIDEO
DIGITAL TIMING
DIGITAL TIMING SIGNALS SUPPRESSED
TIMING ACTIVE
PIXEL DATA VALID
Figure 30. RESET Timing Sequence
-34-
REV. A
ADV7304A/ADV7305A
VERTICAL BLANKING INTERVAL FILTERS
The ADV7304A/ADV7305A accepts input data that contains VBI data (CGMS, WSS, VITS, and so on) in SD and HD Modes. For SMPTE293M (525 p) standards, VBI data can be inserted on Lines 13 to 42 of each frame, or Lines 6 to 43 for ITU-R.BT1358 (625 p) standard. For SD NTSC, this data can be present on Lines 10 to 20; in PAL, on Lines 7 to 22. If VBI is disabled [Address 11h, Bit 4 for HD; Address 43h, Bit 4 for SD], VBI data is not present at the output and the entire VBI is blanked. These control bits are valid in all master and slave modes. In Slave Mode 0, if VBI is enabled, the Blanking Bit in the EAV/SAV code is overwritten and it is possible to use VBI in this timing mode as well. In Slave Mode 1 or 2, the BLANK Control Bit must be set to enabled [Address 4Ah, Bit 3] to allow VBI data to pass through the ADV7304A/ADV7305A. Otherwise, the ADV7304A/ ADV7305A automatically blanks the VBI to standard. If CGMS is enabled and VBI disabled, the CGMS data will nevertheless be available at the output.
SD SUBCARRIER FREQUENCY REGISTERS [Subaddress 4Ch-4Fh]
Table XV shows an overview of the programmable filters available on the ADV7304A/ADV7305A.
Table XV. Selectable Filters
Filter SD Luma LPF NTSC SD Luma LPF PAL SD Luma Notch NTSC SD Luma Notch PAL SD Luma SSAF SD Luma CIF SD Luma QCIF SD Chroma 0.65 MHz SD Chroma 1.0 MHz SD Chroma 1.3 MHz SD Chroma 2.0 MHz SD Chroma 3.0 MHz SD Chroma CIF SD Chroma QCIF SD UV SSAF HD Chroma Input HD Sync Filter HD Chroma SSAF
HD Sync Filter
0.5 0.4
Subaddress 40h 40h 40h 40h 40h 40h 40h 40h 40h 40h 40h 40h 40h 40h 42h 13h 13h 13h
Four 8-bit wide registers are used to set up the subcarrier frequency. The value of these registers is calculated in using the equation: Subcarrier Frequency Register =
0.3 0.2
GAIN - dB
# of Subcarrier Frequency Cycles in One Video Line x 232 # of 27 MHz Clock Cycles in One Video Line
Example: NTSC Mode 227.5 x 232 = 569408542 * Subcarrier Frequency = 1716 Subcarrier Register Value = 21F07C1Eh SD FSC Register 0: SD FSC Register 1: SD FSC Register 2: SD FSC Register 3: 1Eh 7Ch F0h 21h
0.1 0
-0.1 -0.2 -0.3 -0.4
-0.5
0
5
10 15 20 FREQUENCY - MHz
25
30
Figure 31. HD Sync Filter Enabled
0.5 0.4 0.3
Refer to the MPU Port Description Section for more detail on how to access the Subcarrier Frequency Registers.
SUBCARRIER PHASE REGISTER [Subaddress 50h, 5Ch, Bits 7, 6]
0.2
GAIN - dB
Ten bits are used to set up the subcarrier phase. Each bit represents 0.352. For normal operation, this register is set to 00h.
0.1 0
-0.1 -0.2 -0.3 -0.4 -0.5 0 5 10 15 20 FREQUENCY - MHz 25 30
*Rounded to the nearest integer
Figure 32. HD Sync Filter Disabled
REV. A
-35-
ADV7304A/ADV7305A
HD 4:2:2 to 4:4:4 Interpolation Filters and Chroma SSAF
It is recommended to input data in 4:2:2 Input Mode to make use of the HD chroma SSAFs on the ADV7304A/ADV7305A. This filter has a 0 dB pass-band response and prevents signal components from being folded back into the frequency band. In 4:4:4 Input Mode, the video data is already interpolated by the external input device and the chroma SSAFs of the ADV7304A/ ADV7305A are bypassed.
0 -10 -20 -30 -40 -50 -60 -70 -80 0 10 20 30 40 50 60 70 FREQUENCY - MHz 80 90 100 110
The chroma SSAF is controlled with Address 13h, Bit 5. When the HD input format is 4:2:2, the HD Chroma Input Bit [Address 13h, Bit 6] must be set to "1."
2 /4 /8 Oversampling Filters
The oversampling filters are enabled in setting the PLL ON control [Subaddress 00h, Bit 1] to "1." If enabled, PS and ITU-R.BT656 data is output at a rate of 108 MHz, HDTV at a rate of 148 MHz.
0 -10 -20 -30 -40 -50 -60 -70 -80 0 20 40 60 80 100 FREQUENCY - MHz 120 140 160
GAIN - dB
GAIN - dB
Figure 33. Y - PS 4
Oversampling Filter
Figure 35. Y - HDTV 2
Oversampling Filter
1.0 0.5 0 -0.5 -1.0 -1.5 -2.0 -2.5 -3.0 0 2 4 6 8 FREQUENCY - MHz 10 12 14
1.0 0.5 0 -0.5 -1.0 -1.5 -2.0 -2.5 -3.0 0 5 10 15 20 FREQUENCY - MHz 25 30 35
GAIN - dB
GAIN - dB
Figure 34. Y - PS 4 Pass Band
Oversampling Filter in the
Figure 36. Y - HDTV 2 the Pass Band
Oversampling Filter in
-36-
REV. A
ADV7304A/ADV7305A
0 -10 -20 -30 -40 -50 -60 -70 -80 0 10 20 30 40 50 60 70 FREQUENCY - MHz 80 90 100 110
1.0 0.5 0 -0.5 -1.0 -1.5 -2.0 -2.5 -3.0 0 2 4 6 8 10 12 FREQUENCY - MHz 14 16 18
GAIN - dB
Figure 37. UV - HDTV 2
Oversampling Filter
Figure 39. UV - HDTV 2
GAIN - dB
Oversampling Filter, Pass Band
0 -10 -20 -30 -40 -50 -60 -70 -80 0 10 20 30 40 50 60 70 FREQUENCY - MHz 80 90 100 110
0 -10 -20 -30 -40 -50 -60 -70 -80 0 10 20 30 40 50 60 70 FREQUENCY - MHz 80 90 100 110
GAIN - dB
Figure 38. UV - PS 4
Oversampling Filter, Linear
Figure 40. UV - PS 4
GAIN - dB
Oversampling Filter, SSAF
REV. A
-37-
ADV7304A/ADV7305A
SD Internal Filter Response [Subaddress 42h, Bit 0]
0
The Y filter supports several different frequency responses including two low-pass responses, two notch responses, an extended (SSAF) response with or without gain boost/attenuation, a CIF response, and a QCIF response. The UV filter supports several different frequency responses, including six low-pass responses, a CIF response, and a QCIF response, as can be seen in Figures 41-59. If SD SSAF gain is enabled, there is the option of 12 responses in the range from -4 dB to +4 dB. The desired response can be chosen by the user by programming the correct value via the I2C. The variation of frequency responses can be seen in Figures 41-59. In addition to the chroma filters listed above, the ADV7304A/ ADV7305A contains an SSAF filter specifically designed for and applicable to the color difference component outputs U and V. This filter has a cutoff frequency of approximately 2.7 MHz and -40 dB at 3.8 MHz, as shown in Figure 41. This filter can be controlled via Address 42h, Bit 0. If this filter is disabled, the selectable chroma filters shown in Table XVI can be used for the CVBS or chroma signal.
Table XVI. Internal Filter Specifications
-10
GAIN - dB
-20
-30
-40
-50
-60 0 1 2 3 4 5 6 FREQUENCY - MHz
Figure 41. UV SSAF Filter
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
Filter Luma LPF NTSC Luma LPF PAL Luma Notch NTSC Luma Notch PAL Luma SSAF Luma CIF Luma QCIF Chroma 0.65 MHz Chroma 1.0 MHz Chroma 1.3 MHz Chroma 2.0 MHz Chroma 3.0 MHz Chroma CIF Chroma QCIF
Pass-Band Ripple1 (dB) 0.16 0.1 0.09 0.1 0.04 0.127 Monotonic Monotonic Monotonic 0.09 0.048 Monotonic Monotonic Monotonic
3 dB Bandwidth2 (MHz) 4.24 4.81 2.3/4.9/6.6 3.1/5.6/6.4 6.45 3.02 1.5 0.65 1 1.395 2.2 3.2 0.65 0.5
MAGNITUDE - dB
MAGNITUDE - dB
Figure 42. Luma NTSC Low-Pass Filter
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
NOTES 1 Pass-band ripple is the maximum fluctuations from the 0 dB response in the pass band, measured in dB. The pass band is defined to have 0 Hz to fc (Hz) frequency limits for a low-pass filter, 0 Hz to f1 (Hz) and f2 (Hz) to infinity for a notch filter, where fc, f1, f2 are the -3 dB points. 2 +3 dB bandwidth refers to the -3 dB cutoff frequency.
Figure 43. Luma PAL Low-Pass Filter
-38-
REV. A
ADV7304A/ADV7305A
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz 0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
MAGNITUDE - dB
Figure 44. Luma NTSC Notch Filter
MAGNITUDE - dB
Figure 47. Luma SSAF Filter up to 12 MHz
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
4 2 0
MAGNITUDE - dB
MAGNITUDE - dB
-2 -4 -6 -8 -10 -12 0 1 2 3 4 5 6 7 FREQUENCY - MHz
Figure 45. Luma PAL Notch Filter
Figure 48. Luma SSAF Filter, Programmable Responses
0 -10
5
4
-20 -30 -40 -50 -60
MAGNITUDE - dB
3
GAIN - dB
2
1
0
-70 -80 0 10 20 30 40 50 60 70 FREQUENCY - MHz 80 90 100 110
-1 0 1 2 3 4 5 6 7 FREQUENCY - MHz
Figure 46. Luma SSAF Filter up to 108 MHz
Figure 49. Luma SSAF Filter, Programmable Gain
REV. A
-39-
ADV7304A/ADV7305A
1
0 -10 -20 -30 -40 -50
0
MAGNITUDE - dB
-1
-2
-3
-4
MAGNITUDE - dB
-60 -70
0 1 2 3 4 5 6 7
-5 FREQUENCY - MHz
0
2
4
6
8
10
12
FREQUENCY - MHz
Figure 50. Luma SSAF Filter, Programmable Attenuation
Figure 53. Chroma 3.0 MHz LP Filter
0 -10
MAGNITUDE - dB
0 -10 -20 -30 -40 -50 -60 -70
MAGNITUDE - dB
-20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
0
2
4
6
8
10
12
FREQUENCY - MHz
Figure 51. Luma CIF LP Filter
Figure 54. Chroma 2.0 MHz LP Filter
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
MAGNITUDE - dB
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
MAGNITUDE - dB
Figure 52. Luma QCIF LP Filter
Figure 55. Chroma 1.3 MHz LP Filter
-40-
REV. A
ADV7304A/ADV7305A
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz 0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
MAGNITUDE - dB
Figure 56. Chroma 1.0 MHz LP Filter
MAGNITUDE - dB
Figure 58. Chroma CIF LP Filter
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
0 -10 -20 -30 -40 -50 -60 -70 0 2 4 6 8 10 12 FREQUENCY - MHz
MAGNITUDE - dB
Figure 57. Chroma 0.65 MHz LP Filter
MAGNITUDE - dB
Figure 59. Chroma QCIF LP Filter
REV. A
-41-
ADV7304A/ADV7305A
COLOR CONTROLS AND RGB MATRIX HD Y Color, HD Cr Color, HD Cb Color [Subaddresses 16h-18h]
Three 8-bit wide registers at Addresses 16h, 17h, and 18h are used to program the output color of the internal HD test pattern generator, be it the lines of the crosshatch pattern or the uniform field test pattern. They are not functional as color controls on external pixel data input. For this purpose, the RGB matrix is used. The standard used for the values for Y and the color difference signals to obtain white, black, and the saturated primary and complementary colors conforms to the ITU-R.BT601- ITU-R.BT604 standards. Table XVII shows sample color values to be programmed into the color registers when Output Standard Selection is set to EIA 770.2.
Table XVII. Sample Color Values for EIA 770.2 Output Standard Selection
standards due to altering the DAC output stages, such as termination resistors. The programmable RGB matrix is used for external HD data and is not functional when the HD test pattern is enabled. To make use of the programmable RGB matrix, the YCrCb data should contain the HSYNC signal on the Y channel only. The RGB matrix should be enabled [Address 02h, Bit 3], the output should be set to RGB [Address 02h, Bit 3], Sync on PrPb should be disabled [Address 15h, Bit 2], and Sync on RGB is optional [Address 02h, Bit 4]. GY at Addresses 03h and 05h control the output levels on the green signal, BU at 04h and 08h the blue signal output levels, and RV at 04h and 09h the red output levels. To control YPrPb output levels, YUV output should be enabled [Address 02h, Bit 5]. In this case, GY [Address 05h; Address 03, Bits 0-1] is used for the Y output, RV [Address 09; Address 04, Bits 0-1] is used for the Pr output, and BU [Address 08h; Address 04h, Bits 2-3] is used for the Pb output. If RGB output is selected, the RGB matrix scaler uses the following equations:
R = GY x Y + RV x Cr G = GY x Y - GU x Cb - GV x Cr B = GY x Y + BU x Cb
Sample Color White Black Red Green Blue Yellow Cyan Magenta
Color Y Value 235 (EB) 16 (10) 81 (51) 145 (91) 41 (29) 210 (D2) 170 (AA) 106 (6A)
Color Cr Value 128 (80) 128 (80) 240 (F0) 34 (22) 110 (6E) 146 (92) 16 (10) 222 (DE)
Color Cb Value 128 (80) 128 (80) 90 (5A) 54 (36) 240 (F0) 16 (10) 166 (A6) 202 (CA)
If YUV output is selected, the following equations are used:
HD RGB Matrix [Subaddresses 03h-09h]
R = RV x Cr G = GY x Y B = BU x Cb
On power-up, the RGB matrix is programmed with default values: Address 03h: 03h Address 04h: F0h Address 05h: 4Eh Address 06h: 0Eh Address 07h: 24h Address 08h: 92h Address 09h: 7Ch When the programmable RGB matrix is not functional, the ADV7304A/ADV7305A automatically scales YCrCb inputs to all standards supported. For SMPTE293M, the register values are as follows: Address 03h: 03h Address 04h: 1Eh Address 05h: 4Eh Address 06h: 1Bh Address 07h: 38h Address 08h: 8Bh Address 09h: 6Eh Address 15h, Bit 3 must be set to "1" in this mode.
SD Color Control [Subaddresses 5Ch, 5Dh, 5Eh, and 5Fh]
When the programmable RGB matrix is disabled [Address 02h, Bit 3], the internal RGB matrix takes care of all YCrCb to YUV or RGB scaling according to the input standard programmed into the device. When the programmable RGB matrix is enabled, the color components are converted according to the SMPTE274M standard (1080 i):
Y ' = (0.2126 x R') + (0.7152 x G ') + (0.0722 x B') Cb' = 0.5 x (B' -Y ') 1 - 0.0722 0.5 x (R' -Y ') Cr ' = 1 - 0.2126
This is reflected in the preprogrammed values for GY = 13Bh, RV = 1F0h, BU = 248h, GV = 93h, and GU = 3Bh. If another input standard is used, the scale values for GY, GU, GV, BU, and RV have to be adjusted according to this input standard. It must be considered by the user that the color component conversion might use different scale values. For example, SMPTE293M uses the following conversion:
Y ' = (0.299 x R') + (0.587 x G ') + (0.114 x B') Cb' = 0.5 x (B' -Y ') 1 - 0.114 0.5 x (R' -Y ') Cr ' = 1 - 0.299
SD Y SCALE, SD Cr SCALE, and SD Cb SCALE are three 10-bit wide control registers to scale the Y, U, and V output levels. Each of these registers represents the value required to scale the U or V level from 0 to 2.0 and the Y level from 0 to 1.5 of its initial level. The value of these 10 bits is calculated using the equation: Y, U, or V Scalar Value = Scale Factor 512 REV. A
The programmable RGB matrix can be used to control the HD output levels in cases where the video output does not conform to -42-
ADV7304A/ADV7305A
Example: Scale Factor = 1.18 Y, U, or V Scale Value = 1.18 512 = 665.6 Y, U, or V Scale Value = 665 (rounded to nearest integer) Y, U, or V Scale Value = 1010011001b Address 5Ch, SD LSB Register = 15h Address 5Dh, SD Y Scale Register = A6h Address 5Eh, SD V Scale Register = A6h Address 5Fh, SD U Scale Register = A6h
SD Hue Adjust Value [Subaddress 60h]
onto the scaled Y data. For NTSC with pedestal, the setup can vary from 0 IRE to 22.5 IRE. For NTSC without pedestal and for PAL, the setup can vary from -7.5 IRE to +15 IRE. The Brightness Control Register is an 8-bit wide register. Seven bits are used to control the brightness level. This brightness level can be a positive or negative value. Example: Standard: NTSC with pedestal. To add +20 IRE brightness level, write 28h to Address 61h, SD Brightness: SD Brightness Value (hex) = (IRE Value 28h = (20 2.015631) 2.015631) = 40.31262
The Hue Adjust Value is used to adjust the hue on the composite and chroma outputs. These eight bits represent the value required to vary the hue of the video data, i.e., the variance in phase of the subcarrier during active video with respect to the phase of the subcarrier during the color burst. The ADV7304A/ADV7305A provides a range of 22.5 in increments of 0.17578125. For normal operation (zero adjustment), this register is set to 80h. FFh and 00h represent the attainable upper and lower limit (respectively) of adjustment. For a positive hue adjust value: 0.17578125 (HCR - 128) Example: To adjust the hue by +4, write 97h to the Hue Adjust Value Register:
Standard: PAL. To add -7 IRE brightness level, write 72h to Address 61h, SD Brightness: SD Brightness Value (hex) = (IRE Value 0001110b = (7
SD Brightness Detect [Subaddress 7Ah]
2.015631)
2.015631) = 14.109417
0001110 in twos complement equals 1110010, or 72h.
The ADV7304A/ADV7305A allows monitoring of the brightness level of the incoming video data. The Brightness Detect Register is a read-only register.
Double Buffering [Subaddress 13h, Bit 7; Subaddress 48h, Bit 2]
+4 + 128 = 151 = 97 h 0.17578125
where 151 is rounded to the nearest integer. To adjust the hue by -4, write 69h to the Hue Adjust Value Register: -4 + 128 = 105 = 69h 0.17578125 where 105 is rounded to the nearest integer.
SD Brightness Control [Subaddress 61h]
Double buffered registers are updated once per field on the falling edge of the VSYNC signal. Double buffering improves the overall performance since modifications to register settings will not be made during active video but take effect on the start of the active video. Double buffering can be activated on the following HD Registers: HD Gamma A and Gamma B curves, and HD CGMS Registers. Double buffering can be activated on the following SD Registers: SD Gamma A and Gamma B Curves, SD Y Scale, SD U Scale, SD V Scale, SD Brightness, SD Closed Captioning, and SD Macrovision Bits 5-0.
The brightness is controlled by adding a programmable setup level onto the scaled Y data. This brightness level may be added
Table XVIII. Brightness Control Values
Setup Level-- NTSC w/Pedestal (IRE) 22.5 15 7.5 0
Setup Level-- NTSC w/o Pedestal (IRE) +15 +7.5 0 -7.5
Setup Level-- PAL (IRE) +15 +7.5 0 -7.5
SD Brightness Value 1Eh 0Fh 00h 71h
Values in the range from 3Fh to 44h might result in an invalid output signal.
NTSC WITHOUT PEDESTAL 100 IRE +7.5 IRE
0 IRE NO SETUP VALUE ADDED POSITIVE SETUP VALUE ADDED NEGATIVE SETUP VALUE ADDED
-7.5 IRE
Figure 60. Examples for Brightness Control Values
REV. A
-43-
ADV7304A/ADV7305A
Gamma Correction [Subaddresses 21h-37h for HD; Subaddresses 66h-79h for SD]
Example:
8 0.5 y24 = x 224 + 16 = 58 * 224 y32 16 0.5 = x 224 + 16 = 76 * 224
Gamma correction is available for SD and HD video. For each standard there are 20 8-bit wide registers. They are used to program the Gamma Correction Curves A and B. HD Gamma Curve A is programmed at Addresses 24h-2Dh and HD Gamma Curve B at 2Eh-37h. SD Gamma Curve A is programmed at Addresses 66h-6Fh, and SD Gamma Curve B at Addresses 70h-79h. Generally, gamma correction is applied to compensate for the nonlinear relationship between signal input and brightness level output (as perceived on the CRT). It can also be applied wherever nonlinear processing is used. Gamma correction uses the function: SignalOUT = (SignalIN ) where equals the gamma power factor.
32 0.5 y 48 = x 224 + 16 = 101 * 224 48 y64 = 224
0.5
x 224 + 16 = 120 *
64 0.5 y80 = x 224 + 16 = 136 * 224 y96 80 0.5 = x 224 + 16 = 150 * 224
Gamma correction is performed on the luma data only. The user has the choice to use two different curves, Curve A or Curve B. At any one time only one of these curves can be used. The response of the curve is programmed at 10 predefined locations. In changing the values at these locations, the gamma curve can be modified. Between these points, linear interpolation is used to generate intermediate values. Considering the curve to have a total length of 256 points, the 10 locations are: 24, 32, 48, 64, 80, 96, 128, 160, 192, and 224. Locations 0, 16, 240, and 255 are fixed and cannot be changed. For the length of 16 to 240, the gamma correction curve must be calculated as:
y = x
112 0.5 y128 = x 224 + 16 = 174 * 224 144 0.5 y160 = x 224 + 16 = 195 * 224 176 0.5 y192 = x 224 + 16 = 214 * 224 208 0.5 y224 = x 224 + 16 = 232 * 224
where y = gamma corrected output, x = linear input signal, and = the gamma power factor. To program the gamma correction registers, the values for y must be calculated using the formula:
x(n-16) yn = x (240 - 16) + 16 240 - 16
The gamma curves shown in Figures 61 and 62 are examples. Any user defined curve is acceptable in the range of 16-240.
300
GAMMA CORRECTED AMPLITUDE
250 0.5 200 SIGNAL OUTPUT 150
where x(n-16) = the value for x along the x-axis at points n = 24, 32, 48, 64, 80, 96, 128, 160, 192, or 224; yn = the value for y along the y-axis, which has to be written into the Gamma Correction Register.
100 SIGNAL INPUT 50
0
0
50
100
150 LOCATION
200
250
Figure 61. Signal Input (Ramp) and Signal Output for Gamma 0.5
*Rounded to the nearest integer
-44-
REV. A
ADV7304A/ADV7305A
300
GAMMA CORRECTED AMPLITUDE
250 SIGNAL INPUT 200 0.5 150 1.5 100 1.8 50 0.3
To select one of the 256 individual responses, the corresponding gain values for each filter, which range from -8 to +7, must be programmed into the HD Sharpness Filter Gain Register at Address 20h.
HD Adaptive Filter Mode
The HD Adaptive Filter Threshold A, B, and C Registers, the HD Adaptive Filter Gain 1, 2, and 3 Registers, and the HD Sharpness Filter Gain Register are used in Adaptive Filter Mode. To activate the adaptive filter control, the HD Sharpness Filter and HD Adaptive Filter Enable must be enabled. The derivative of the incoming signal is compared to the three programmable threshold values: HD Adaptive Filter Threshold A, B, and C. The recommended threshold range is from 16- 235, although any value in the range of 0-255 can be used. The edges can then be attenuated with the settings in HD Adaptive Filter Gain 1, 2, and 3 Registers and HD Sharpness Filter Gain Register. According to the settings of the HD Adaptive Filter Mode control, there are two adaptive filter modes available: 1. Mode A is used when Adaptive Filter Mode is set to "0." In this case, Filter B (LPF) will be used in the adaptive filter block. Also, only the programmed values for Gain B in the HD Sharpness Filter Gain, HD Adaptive Filter Gain 1, 2, and 3 are applied when needed. The Gain A values are fixed and cannot be changed. 2. Mode B is used when Adaptive Filter Mode is set to "1." In this mode, a cascade of Filter A and Filter B is used. Both settings for Gain A and Gain B in the HD Sharpness Filter Gain, HD Adaptive Filter Gain 1, 2, and 3 become active when needed.
1.6
0
0
50
100
150 LOCATION
200
250
Figure 62. Signal Input (Ramp) and Selectable Gamma Output
HD SHARPNESS FILTER CONTROL AND ADAPTIVE FILTER CONTROL [Subaddresses 20h and 38h-3Dh]
There are three filter modes available on the ADV7304A/ ADV7305A: Sharpness Filter Mode and two adaptive filter modes.
HD Sharpness Filter Mode
To enhance or attenuate the Y signal in the frequency ranges shown in Figure 63, the following register settings must be used: HD Sharpness Filter must be enabled and HD Adaptive Filter Enable must be set to disabled.
1.5 1.4 1.3 1.2
MAGNITUDE
1.5 1.4
MAGNITUDE - Linear Scale
1.3 1.2
MAGNITUDE
1.5 1.4
1.1 1.0 0.9 0.8 0.7 0.6 0.5 FREQUENCY - MHz FILTER A RESPONSE - Gain Ka
1.1 1.0 0.9 0.8 0.7 0.6 0.5 FREQUENCY - MHz FILTER B RESPONSE - Gain Kb
INPUT SIGNAL: STEP
1.3
1.2
1.1
1.0
0
2
4 6 8 10 FREQUENCY - MHz
12
FREQUENCY RESPONSE IN SHARPNESS FILTER MODE WITH Ka = 3 AND Kb = 7
Figure 63. Sharpness and Adaptive Filter Control Block
REV. A
-45-
ADV7304A/ADV7305A
a d
b
e
c
f
Figure 64. HD Sharpness Filter Control with Different Gain Settings for HD Sharpness Filter Gain Value
HD Sharpness Filter and Adaptive Filter Application Examples HD Sharpness Filter Application Adaptive Filter Control Application
The HD sharpness filter can be used to enhance or attenuate the Y video output signal. The register settings in Tables XIX and XX are used to achieve the results shown in Figure 64. Input data was generated by an external signal source.
Table XIX. Sharpness Filter on Frequency Sweep
Figure 65 shows a typical signal to be processed by the adaptive filter control block.
: 692mV @: 446mV : 332ns @: 12.8ms
Address 00h 01h 02h 10h 11h 20h 20h 20h 20h 20h 20h
*See Figure 64.
Register Setting FCh 10h 20h 00h 81h 00h 08h 04h 40h 80h 22h
Reference*
a b c d e f
Figure 65. Input Signal to Adaptive Filter Control
: 690mV @: 446mV : 332ns @: 12.8ms
The effect of the sharpness filter can also be seen when using the internally generated crosshatch pattern.
Table XX. Sharpness Filter on Internal Test Pattern
Address 00h 01h 02h 10h 11h 20h
Register Setting FCh 10h 20h 00h 85h 99h
Figure 66. Output Signal after Adaptive Filter Control
In toggling the Sharpness Filter Enable Bit [Address 11h, Bit 8], it can be seen that the line contours of the crosshatch pattern change their sharpness.
The register settings in Table XXI are used to obtain the results shown in Figure 66, i.e., to remove the ringing on the Y signal. Input data was generated by an external signal source.
-46-
REV. A
ADV7304A/ADV7305A
Table XXI. Adaptive Filter Control on Step Input Signal
Address 00h 01h 02h 10h 11h 15h 20h 38h 39h 3Ah 3Bh 3Ch 3Dh
Register Setting FCh 38h 20h 00h 81h 80h 00h ACh 9Ah 88h 28h 3Fh 64h
SD DIGITAL NOISE REDUCTION [Subaddresses 63h, 64h, and 65h]
DNR is applied to the Y data only. A filter block selects the high frequency, low amplitude components of the incoming signal (DNR input select). The absolute value of the filter output is compared to a programmable threshold value (DNR threshold control). There are two DNR modes available: DNR Mode and DNR Sharpness Mode. In DNR Mode, if the absolute value of the filter output is smaller than the threshold, it is assumed to be noise. A programmable amount (coring gain border, coring gain data) of this noise signal will be subtracted from the original signal. In DNR Sharpness Mode, if the absolute value of the filter output is less than the programmed threshold, it is assumed to be noise, as before. Otherwise, if the level exceeds the threshold now being identified as a valid signal, a fraction of the signal (coring gain border, coring gain data) will be added to the original signal in order to boost high frequency components and to sharpen the video image. In MPEG systems, it is common to process the video information in blocks of 8 8 pixels for MPEG2 systems, or 16 16 pixels for MPEG1 systems (block size control). DNR can be applied to the resulting block transition areas that are known to contain noise. Generally, the block transition area contains two pixels. It is possible to define this area to contain four pixels (border area). It is also possible to compensate for variable block positioning or differences in YCrCb pixel timing with the use of the (DNR block offset).
DNR MODE DNR CONTROL BLOCK SIZE CONTROL BORDER AREA BLOCK OFFSET GAIN
All other register settings are 00h.
When changing the Adaptive Filter Mode to Mode B [Address 15h, Bit 6], the output in Figure 67 can be obtained.
: 674mV @: 446mV : 332ns @: 12.8ms
Figure 67. Output Signal from Adaptive Filter Control
The adaptive filter control can also be demonstrated using the internally generated crosshatch test pattern and toggling the Adaptive Filter Control Bit [Address 15h, Bit 7], shown in Table XXII.
Table XXII. Adaptive Filter Control on Internal Test Pattern
Y DATA INPUT
NOISE SIGNAL PATH
CORING GAIN DATA CORING GAIN BORDER
INPUT FILTER BLOCK FILTER OUTPUT < THRESHOLD ? SUBTRACT SIGNAL IN THRESHOLD RANGE FROM ORIGINAL SIGNAL
Address 00h 01h 02h 10h 11h 15h 20h 38h 39h 3Ah 3Bh 3Ch 3Dh
Register Setting FCh 38h 20h 00h 85h 80h 00h ACh 9Ah 88h 28h 3Fh 64h
Y DATA INPUT
FILTER OUTPUT > THRESHOLD DNR OUT MAIN SIGNAL PATH
DNR SHARPNESS MODE
DNR CONTROL BLOCK SIZE CONTROL BORDER AREA BLOCK OFFSET GAIN
NOISE SIGNAL PATH
CORING GAIN DATA CORING GAIN BORDER
INPUT FILTER BLOCK FILTER OUTPUT > THRESHOLD ? ADD SIGNAL ABOVE THRESHOLD RANGE FROM ORIGINAL SIGNAL
FILTER OUTPUT < THRESHOLD DNR OUT MAIN SIGNAL PATH
Figure 68. DNR Block Diagram
REV. A
-47-
ADV7304A/ADV7305A
The Digital Noise Reduction Registers are three 8-bit wide registers. They are used to control the DNR processing.
Coring Gain Border [Address 63h, Bits 3-0] Block Size Control [Address 64h, Bit 7]
These four bits are assigned to the gain factor applied to the border areas. In DNR Mode, the range of gain values is 0-1, in increments of 0.125. This factor is applied to the DNR filter output that lies below the set threshold range. The result is then subtracted from the original signal. In DNR Sharpness Mode, the range of gain values is 0 to 0.5, in increments of 0.0625. This factor is applied to the DNR filter output that lies above the threshold range. The result is added to the original signal.
Coring Gain Data [Address 63h, Bits 7-4]
This bit is used to select the size of the data blocks to be processed. Setting the block size control function to a Logic "1" defines a 16 16 pixel data block, a Logic "0" defines an 8 8 pixel data block, where 1 pixel refers to 2 clock cycles at 27 MHz.
DNR Input Select Control [Address 65h, Bits 2-0]
Three bits are assigned to select the filter that is applied to the incoming Y data. The signal that lies in the pass band of the selected filter is the signal that will be DNR processed. The figure below shows the filter responses selectable with this control.
1.0 FILTER D 0.8 FILTER C 0.6
These four bits are assigned to the gain factor applied to the luma data inside the MPEG pixel block. In DNR Mode, the range of gain values is 0-1, in increments of 0.125. This factor is applied to the DNR filter output that lies below the set threshold range. The result is then subtracted from the original signal. In DNR Sharpness Mode, the range of gain values is 0-0.5, in increments of 0.0625. This factor is applied to the DNR filter output that lies above the threshold range. The result is added to the original signal.
APPLY DATA CORING GAIN APPLY BORDER CORING GAIN
0.4
FILTER B
0.2 FILTER A 0
0
1
2
3 4 FREQUENCY - Hz
5
6
Figure 71. DNR Input Select
DNR Mode Control [Address 65h, Bit 3]
OFFSET CAUSED BY VARIATIONS IN INPUT TIMING
OXXXX XXO OXXXX XXO
OXXXX XXO OXXXX XXO
DNR27 - DNR24 = 01HEX
OXXXX XXO OXXXX XXO
This bit controls the DNR Mode selected. A Logic "0" selects DNR Mode, and Logic "1" selects DNR Sharpness Mode. DNR works on the principle of defining low amplitude, high frequency signals as probable noise and subtracting this noise from the original signal. In DNR Mode, it is possible to subtract a fraction of the signal that lies below the set threshold, assumed to be noise, from the original signal. The threshold is set in DNR Register 1. When DNR Sharpness Mode is enabled, it is possible to add a fraction of the signal that lies above the set threshold to the original signal, since this data is assumed to be valid data and not noise. The overall effect is that the signal will be boosted (similar to using extended SSAF filter).
Block Offset Control [Address 65h, Bits 7-4]
Figure 69. DNR Block Offset Control
DNR Threshold [Address 64h, Bits 5-0]
These six bits are used to define the threshold value in the range of 0 to 63. The range is an absolute value.
Border Area [Address 64h, Bit 6]
In setting this bit to a Logic "1," the block transition area can be defined to consist of four pixels. If this bit is set to a Logic "0," the border transition area consists of two pixels, where one pixel refers to two clock cycles at 27 MHz.
720 485 PIXELS (NTSC) 2 PIXEL BORDER DATA
Four bits are assigned to this control, which allows a shift of the data block of 15 pixels maximum. Consider the coring gain positions fixed. The block offset shifts the data in steps of one pixel such that the border coring gain factors can be applied at the same position regardless of variations in input timing of the data.
8 8 PIXEL BLOCK
8 8 PIXEL BLOCK
Figure 70. DNR Border Area
-48-
REV. A
ADV7304A/ADV7305A
SD ACTIVE VIDEO EDGE [Subaddress 42h, Bit 7]
When the active video edge is enabled, the first three pixels and the last three pixels of the active video on the Luma Channel are scaled in such a way that maximum transitions on these pixels are not possible. The scaling factors are 1/8 , 1/2 , and 7/8 . All other active video passes through unprocessed.
LUMA CHANNEL WITH ACTIVE VIDEO EDGE DISABLED 100 IRE 100 IRE 87.5 IRE 50 IRE 0 IRE 12.5 IRE 0 IRE LUMA CHANNEL WITH ACTIVE VIDEO EDGE ENABLED
Figure 72. Active Video Edge Functionality Example
BOARD DESIGN AND LAYOUT CONSIDERATIONS DAC Termination and Layout Considerations
6.8 H DAC O/P 300R 47pF 300R 75R BNC O/P 6.8 H
The ADV7304A/ADV7305A contain an on-board voltage reference. The VREF pin is normally terminated to VAA through a 0.1 F capacitor when the internal VREF is used. Alternatively, the ADV7304A/ADV7305A can be used with an external VREF (e.g., AD1580). The RSET resistors are connected between the RSET pins and AGND and are used to control the full-scale output current and, therefore, the DAC voltage output levels. For full-scale output, RSET must have a value of 760 . The RSET values should not be changed. RLOAD has a value of 150 for full-scale output.
Video Output Buffer and Optional Output Filter
THIRD ORDER LOW-PASS BUTTERWORTH
1.8k 600R
Figure 73. Example for Output Filter for SD, 8 Oversampling
0 36n480
Output buffering on all six DACs is necessary in order to drive output devices, such as SD or HD monitors. Analog Devices produces a range of suitable op amps for this application, for example the AD8061. More information on line driver buffering circuits is given in the relevant op amp data sheets. An optional analog reconstruction LPF might be required as an antialias filter if the ADV7304A/ADV7305A is connected to a device that requires this filtering. The filter specifications vary with the application, see Table XXIII.
Table XXIII. External Filter Requirements
-10
MAGNITUDE (dB) GROUP DELAY (sec)
30n360
-20
24n240
-30
18n120
-40
12n0
-50 PHASE (Deg) -60 1 10 CIRCUIT FREQUENCY RESPONSE - MHz
6n-120
0n-240 100
Input Mode SD SD PS PS HDTV HDTV
External Filter Cutoff Oversampling Frequency Attenuation 2 8 1 4 1 2 >6.5 MHz >6.5 MHz >12.5 MHz >12.5 MHz >30 MHz >30 MHz -50 dB @ 20.5 MHz -50 dB @ 101.5 MHz -50 dB @ 14.5 MHz -50 dB @ 95.5 MHz -50 dB @ 44.25 MHz -50 dB @ 118.5 MHz
Figure 74. Filter Plot for Output Filter for SD, 8 Oversampling
REV. A
-49-
ADV7304A/ADV7305A
6.8 H DAC O/P 300R 300R 6.8pF 18pF 75R BNC O/P 2.2 H
Table XXIV. Possible Output Rates
Input Mode Addr 01h, Bits 6-4 SD
PLL Addr 00h, Bit 1 Off On Off On Off On Off On Off On Off On Off On Off On Off On
Output Rate 27 MHz (2 ) 108 MHz (8 ) 27 MHz (1 ) 108 MHz (4 ) 74.25 MHz (1 ) 148.5 MHz (2 ) 27 MHz (2 ) 108 MHz (8 ) 27 MHz (1 ) 108 MHz (4 ) 27 MHz (2 ) 108 MHz (8 ) 74.25 MHz (1 ) 74.25 MHz (1 ) 27 MHz (2 ) 27 MHz (2 ) 74.25 MHz (1 ) 148.5 MHz (2 )
1.8k 600R
PS
Figure 75. Example of Output for Output Filter for PS, 4 Oversampling
0 30n480 MAGNITUDE (dB) -10 GROUP DELAY (sec) -20 20n240 25n360
HDTV SD and PS SD* and
FOURTH ORDER LOW-PASS BUTTERWORTH
-30
15n120
HDTV
-40 PHASE (Deg) -50 5n-120 10n0
SD and HDTV*
-60 10M 100M CIRCUIT FREQUENCY RESPONSE - Hz
0n-240
*Oversampled
Figure 76. Filter Plot for Output Filter for PS, 4 Oversampling
470nH 220nH BNC O/P
PCB Board Layout Considerations
33pF 75R DAC O/P
82pF
75R 500R 500R
300R
The ADV7304A/ADV7305A is optimally designed for lowest noise performance, both radiated and conducted noise. To complement the excellent noise performance of the ADV7304A/ ADV7305A, it is imperative that great care be given to the PC board layout. The layout should be optimized for the lowest noise on the ADV7304A/ADV7305A power and ground lines. This can be achieved by shielding the digital inputs and providing good decoupling. The lead length between groups of VAA and AGND, VDD and DGND, and VDD_IO and GND_IO pins should be kept as short as possible to minimize inductive ringing. It is recommended that a four-layer printed circuit board be used with power and ground planes separating the layer of the signal carrying traces of the components and solder side layer. Placement of components should take into account noisy circuits, such as crystal clocks, high speed logic circuitry, and analog circuitry. There should be a separate analog ground plane and a separate digital ground plane. Power planes should encompass a digital and an analog power plane. The analog power plane should contain the DACs and all associated circuitry, VREF circuitry. The digital power plane should contain all logic circuitry. The analog and digital power planes should be individually connected to the common power plane at one single point through a suitable filtering device, such as a ferrite bead. DAC output traces on a PCB should be treated as transmission lines. It is recommended that the DACs be placed as close as possible to the output connector, with the analog output traces being as short as possible (less than three inches). The DAC termination resistors should be placed as close as possible to the DAC outputs and should overlay the PCB's ground plane. As well as minimizing reflections, short analog output traces will reduce noise pickup due to neighboring digital circuitry. -50- REV. A
Figure 77. Example for Output Filter HDTV, 2 Oversampling
0 FOURTH ORDER LOW-PASS BUTTERWORTH MAGNITUDE (dB) -8.6 GROUP DELAY (sec) -17.1 -25.7 12n398 10n298 8n198 6n97.6 4n0 PHASE (Deg) 2n-102 0n-203 1 10 100 CIRCUIT FREQUENCY RESPONSE - MHz 14n498
-34.3
-42.9
-51.4
-60.0
Figure 78. Filter Plot for Output Filter for HDTV, 2 Oversampling
ADV7304A/ADV7305A
To avoid crosstalk between the DAC outputs, it is recommended to leave as much space as possible between the tracks of the individual DAC output pins.
Supply Decoupling
Noise on the analog power plane can be further reduced by the use of decoupling capacitors. Optimum performance is achieved by the use of 0.1 F ceramic capacitors. Each of the group of VAA, VDD, or VDD_IO pins should be individually decoupled to ground. This should be done by placing the capacitors as close as possible to the device with the capacitor leads as short as possible, thus minimizing lead inductance.
Digital Signal Interconnect
the high clock rates used, long clock lines to the ADV7304A/ ADV7305A should be avoided to minimize noise pickup. Any active pull-up termination resistors for the digital inputs should be connected to the digital power plane and not the analog power plane.
Analog Signal Interconnect
The digital signal lines should be isolated as much as possible from the analog outputs and other analog circuitry. Digital signal lines should not overlay the analog power plane. Due to
The ADV7304A/ADV7305A should be located as close as possible to the output connectors, thus minimizing noise pickup and reflections due to impedance mismatch. For optimum performance, the analog outputs should each be source and load terminated, as shown in Figure 79. The termination resistors should be as close as possible to the ADV7304A/ADV7305A to minimize reflections. Any unused inputs should be tied to ground.
POWER SUPPLY DECOUPLING FOR EACH POWER SUPPLY GROUP VAA 10nF VAA 0.1 F VAA 10, 56 10nF COMP1 COMP2 VAA VDD VDD_IO S0-S9 VREF DAC A S_HSYNC S_VSYNC S BLANK DAC C C0-C9 DAC D Y0-Y9 150 HD Y/GREEN 150 HD Pb/BLUE 150 VDD_IO DAC F VAA 47k 4.7 F 6.3V VAA 820pF EXT_LF GND_IO AGND DGND 680R 3.9nF RSET1 RSET2 1520 1520 RESET CLKIN_B CLKIN_A SCLK SDA I2C ALSB VDD_IO 5k VDD_IO 5k P_BLANK 150 HD Pr/RED VDD_IO 5k 5k I2C BUS SD CHROMA/RED/V DAC B 150 150 SD LUMA/BLUE/U SD CVBS/GREEN/Y 0.1 F VDD 10nF 0.1 F VDD_IO 0.1 F
0.1 F
ADV7304A/ ADV7305A
DAC E
P_HSYNC P_VSYNC
11, 57
UNUSED INPUTS SHOULD BE GROUNDED
Figure 79. Circuit Layout
REV. A
-51-
ADV7304A/ADV7305A Appendix A
COPY GENERATION MANAGEMENT SYSTEM HD CGMS DATA Registers 2-0 [Subaddress 12h]
March 1998" and IEC61880, 1998, video systems (525/60)-- video and accompanied data using the vertical blanking interval--analog interface. When HD CGMS is enabled, CGMS data is inserted on Line 41. The HD CGMS Data Registers are to be found at Addresses 21h, 22h, and 23h.
CRC SEQUENCE
HD CGMS is available in 525 p Mode only, conforming to "CGMS-A EIA-J CPR1204-1, Transfer Method of Video ID information using vertical blanking interval (525 p System),
+700mV REF 70% 10% C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 0mV -300mV 5.8 s 0.15 s 6T BIT 1 BIT 20
21.2 s 0.22 s 22T
T = 1/(fH 33) = 963ns fH = HORIZONTAL SCAN FREQUENCY T 30ns
Figure 80. CGMS Waveform
SD CGMS Data Registers 2-0 [Subaddresses 59h, 5Ah, and 5Bh]
output directly from the CGMS registers (no CRC calculated; must be calculated by the user).
Table XXV. Function of CGMS Bits
The ADV7304A/ADV7305A supports Copy Generation Management System (CGMS) conforming to the standard. CGMS data is transmitted on Line 20 of the odd fields and Line 283 of the even fields. Bits C/W05 and C/W06 control whether or not CGMS data is output on odd and even fields. CGMS data can only be transmitted when the ADV7304A/ADV7305A is configured in NTSC Mode. The CGMS data is 20 bits long; the function of each of these bits is as shown below. The CGMS data is preceded by a reference pulse of the same amplitude and duration as a CGMS bit, see Figure 81. If SD CGMS CRC [Address 59h, Bit 4] is set to a Logic "1," the last six bits, C19-C14, that comprise the 6-bit CRC check sequence are calculated automatically on the ADV7304A/ ADV7305A based on the lower 14 bits (C0-C13) of the data in the data registers and output with the remaining 14 bits to form the complete 20 bits of the CGMS data. The calculation of the CRC sequence is based on the polynomial: x6 + x + 1 with a preset value of 111111. If SD CGMS CRC [Address 59h, Bit 4] is set to a Logic "0," then all 20 bits (C0-C19) are
+100 IRE REF +70 IRE
Word 0
Bit B1 B2 B3 B4-B6
Function Aspect Ratio Display Format 0 = 4:3 1 = 16:9 0 = Normal 1 = Letterbox
Undefined Identification Information about Video and Other Signals (i.e., Audio) Identification Signal. Incidental to Word 0. Identification Signal and Information. Incidental to Word 0.
1 2
B7-B10 B11-B14
CRC SEQUENCE
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 0 IRE -40 IRE 11.2 s 2.235 s 20ns
49.1 s
0.5 s
Figure 81. CGMS Waveform
-52-
REV. A
ADV7304A/ADV7305A Appendix B
SD WIDE SCREEN SIGNALLING [Subaddresses 59h, 5Ah, and 5Bh] Table XXVII. Function of WSS Bits 0-3
The ADV7304A/ADV7305A supports Wide Screen Signalling (WSS) conforming to the standard. WSS data is transmitted on Line 23. WSS data can only be transmitted when the ADV7304A/ ADV7305A is configured in PAL Mode. The WSS data is 14 bits long. The function of each of these bits is shown in Table XXVI. The WSS data is preceded by a run-in sequence and a start code (see Figure 82). If SD WSS [Address 59h, Bit 7] is set to a Logic "1," it enables the WSS data to be transmitted on Line 23. The latter portion of Line 23 (42.5 s from the falling edge of HSYNC) is available for the insertion of video. It is possible to blank the WSS portion of Line 23 with Subaddress 61h, Bit 7.
Table XXVI. Function of WSS Bits
B0 B1 B2 B3 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 1 0 0 0 0 1 1 1 1 1 0 0 1 0 1 1 0
Aspect Ratio 4:3 14:9 14:9 16:9 16:9 >16:9 14:9 16:9
Format Full Format Letterbox Letterbox Letterbox Letterbox Letterbox Full Format N/A
Position N/A Center Top Center Top Center Center N/A
Bit 0 1 2 3 4 5 6 7 8 9-10
Function Aspect Ratio Format Position Odd Parity Check of Bits 0-2 0 = Camera Mode 1 = Film Mode 0 = Standard Coding 1 = Motion Adaptive Color Plus 0 = No Helper 1 = Modulated Helper Reserved Reserved 00 = No Open Subtitles 10 = Subtitles Inside Active Image Area 01 = Subtitles Outside Active Image Area 11 = Reserved 0 = No Surround Sound Information 1 = Surround Sound Mode Reserved
500mV RUN-IN SEQUENCE START CODE W0 W1 W2 W3 W4 W5 W6 W7 W8 W9 W10 W11 W12 W13 ACTIVE VIDEO
11 12-13
11.0 s 38.4 s 42.5 s
Figure 82. WSS Waveform
REV. A
-53-
ADV7304A/ADV7305A Appendix C
SD CLOSED CAPTIONING [Subaddresses 51h-54h]
ADV7305A. All pixels inputs are ignored during Lines 21 and 284 if closed captioning is enabled. FCC Code of Federal Regulations (CFR) 47, Section 15.119 and EIA608 describe the closed captioning information for Lines 21 and 284. The ADV7304A/ADV7305A uses a single buffering method. This means that the closed captioning buffer is only one byte deep; therefore, there will be no frame delay in outputting the closed captioning data unlike other 2-byte deep buffering systems. The data must be loaded one line before (Line 20 or Line 283) it is output on Line 21 and Line 284. A typical implementation of this method is to use VSYNC to interrupt a microprocessor that in turn will load the new data (2 bytes) every field. If no new data is required for transmission, "0" must be inserted in both data registers; this is called nulling. It is also important to load "control codes," all of which are double bytes on Line 21, or a TV will not recognize them. If there is a message like "Hello World" that has an odd number of characters, it is important to pad it out to even to get the "end of caption" 2-byte control code to land in the same field.
The ADV7304A/ADV7305A supports closed captioning conforming to the standard television synchronizing waveform for color transmission. Closed captioning is transmitted during the blanked active line time of Line 21 of the odd fields and Line 284 of the even fields. Closed captioning consists of a 7-cycle sinusoidal burst that is frequency and phase-locked to the caption data. After the clock run-in signal, the blanking level is held for two data bits and is followed by a Logic Level "1" start bit. Sixteen bits of data follow the start bit. These consist of two 8-bit bytes, 7 data bits, and 1 odd parity bit. The data for these bytes is stored in the SD Closed Captioning Registers [Addresses 53h-54h]. The ADV7304A/ADV7305A also supports the extended closed captioning operation that is active during even fields and is encoded on Line 284. The data for this operation is stored in the SD Closed Captioning Registers [Addresses 51h-52h]. All clock run-in signals and timing to support closed captioning on Lines 21 and 284 are generated automatically by the ADV7304A/
10.5 0.25 s 12.91 s
7 CYCLES OF 0.5035MHz CLOCK RUN-IN
TWO 7-BIT + PARITY ASCII CHARACTERS (DATA) S T A R T P A R I T Y P A R I T Y
50 IRE
D0-D6
D0-D6
BYTE 0 40 IRE REFERENCE COLOR BURST (9 CYCLES) FREQUENCY = FSC = 3.579545MHz AMPLITUDE = 40 IRE 10.003 s 27.382 s
BYTE 1
33.764 s
Figure 83. Closed Captioning Waveform, NTSC
-54-
REV. A
ADV7304A/ADV7305A Appendix D
TEST PATTERNS
The ADV7304A/ADV7305A can generate SD and HD test patterns.
Figure 84. NTSC Color Bars
Figure 87. PAL Color Bars
Figure 85. NTSC Black Bar (-21 mV, 0 mV, +3.5 mV, +7 mV, +10.5 mV, +14 mV, +18 mV, +23 mV)
Figure 88. PAL Black Bar (-21 mV, 0 mV, +3.5 mV, +7 mV, +10.5 mV, +14 mV, +18 mV, +23 mV)
Figure 86. 525 p Hatch Pattern
Figure 89. 625 p Hatch Pattern
REV. A
-55-
ADV7304A/ADV7305A
Figure 90. 525 p Field Pattern
Figure 92. 625 p Field Pattern
Figure 91. 525 p Black Bar (-35 mV, 0 mV, +7 mV, +14 mV, +21 mV, +28 mV, +35 mV)
Figure 93. 625 p Black Bar (-35 mV, 0 mV, +7 mV, +14 mV, +21 mV, +28 mV, +35 mV)
-56-
REV. A
ADV7304A/ADV7305A
Table XXVIII. NTSC CVBS Output on DAC A Table XXXII. 525 p Hatch Pattern on DAC D
Subaddress 00h 11h 40h 42h 44h 4Ah 4Ch 4Dh 4Eh 4Fh
Register Setting 82h 01h 10h 40h 40h 08h 16h 7Ch F0h 21h
Subaddress 00h 01h 02h 10h 11h 16h 17h 18h
Register Setting 12h 10h 20h 40h 05h A0h 80h 80h
All other registers are set to 00h.
All other registers are set to 00h.
For PAL CVBS output on DAC A, the same settings in Table XXVIII are used except those listed in Table XXIX.
Table XXIX. PAL CVBS Output on DAC A
For a 625 p Hatch Pattern on DAC D, the same settings in Table XXXII are used except for Subaddress 10h, which has a register setting of 50h.
Table XXXIII. 525 p Field Pattern*
Subaddress 00h 01h 02h 10h 11h 16h 17h 18h
Register Setting 12h 10h 20h 40h 0Dh A0h 80h 80h
Subaddress 40h 4Ch 4Dh 4Eh 4Fh
Register Setting 11h CBh 8Ah 09h 2Ah
Table XXX. NTSC Black Bar Pattern Output on DAC A
Subaddress 00h 02h 11h 40h 42h 44h 4Ah 4Ch 4Dh 4Eh 4Fh
Register Setting 82h 04h 01h 10h 40h 40h 08h 16h 7Ch F0h 21h
All other registers are set to 00h. *See Figure 90.
For a 625 p Field Pattern on DAC D, the same settings in Table XXXIII are used except for Subaddress 10h, which has a register setting of 50h. For a 525 p Black Bar Pattern Output on DAC D, the same settings in Table XXXIII are used except for Subaddresses 02h, which has a register setting of 24h. For a 625 p Black Bar Pattern Output on DAC D, the same settings in Table XXXIII are used except for Subaddresses 02h and 10h, which have register settings of 24h and 50h, respectively.
All other registers are set to 00h. The Subcarrier Frequency Registers 4Ch-4Fh will be needed to generate the correct color burst signal.
For PAL Black Bar Pattern Output on DAC A, the same settings in Table XXX are used except those listed in Table XXXI.
Table XXXI. PAL Black Bar Pattern Output on DAC A
Subaddress 40h 4Ch 4Dh 4Eh 4Fh
Register Setting 11h CBh 8Ah 09h 2Ah
REV. A
-57-
ADV7304A/ADV7305A Appendix E
SD TIMING MODES [Subaddress 4Ah] Mode 0 (CCIR-656): Slave Option (Timing Register 0 TR0 = X X X X X 0 0 0)
The ADV7304A/ADV7305A is controlled by the start active video (SAV) and end active video (EAV) time codes in the pixel data. All
timing information is transmitted using a 4-byte synchronization pattern. A synchronization pattern is sent immediately before and after each line during active picture and retrace. S_VSYNC, S_HSYNC, and S_BLANK (if not used) pins should be tied high during this mode. Blank output is available.
ANALOG VIDEO
EAV CODE INPUT PIXELS C F0 0X818 1 Y Y r F0 0Y000 0 0FFAAA 0FFBBB ANCILLARY DATA (HANC) 268 CLOCK 4 CLOCK PAL SYSTEM (625 LINES/50Hz) 280 CLOCK END OF ACTIVE VIDEO LINE
SAV CODE C C 8 1 8 1 F 0 0X CY C YC Y rYb b 0000F00Yb r
4 CLOCK NTSC/PAL M SYSTEM (525 LINES/60Hz)
4 CLOCK 1440 CLOCK 4 CLOCK 1440 CLOCK START OF ACTIVE VIDEO LINE
Figure 94. SD Slave Mode 0
Mode 0 (CCIR-656): Master Option (Timing Register 0 TR0 = X X X X X 0 0 1)
The ADV7304A/ADV7305A generates H, V, and F signals required for the SAV and EAV time codes in the CCIR-656 standard. The H Bit is output on the S_HSYNC pin, the V Bit is output on the S_BLANK pin, and the F Bit is output on the S_VSYNC pin.
DISPLAY VERTICAL BLANK DISPLAY
522 H
523
524
525
1
2
3
4
5
6
7
8
9
10
11
20
21
22
V
F
EVEN FIELD
ODD FIELD
DISPLAY VERTICAL BLANK
DISPLAY
260 H
261
262
263
264
265
266
267
268
269
270
271
272
273
274
283
284
285
V
F
ODD FIELD
EVEN FIELD
Figure 95. SD Master Mode 0, NTSC
-58-
REV. A
ADV7304A/ADV7305A
DISPLAY VERTICAL BLANK DISPLAY
622 H V
623
624
625
1
2
3
4
5
6
7
21
22
23
F
EVEN FIELD
ODD FIELD
DISPLAY VERTICAL BLANK
DISPLAY
309 H
310
311
312
313
314
315
316
317
318
319
320
334
335
336
V F ODD FIELD EVEN FIELD
Figure 96. SD Master Mode 0, PAL
ANALOG VIDEO
H
F
V
Figure 97. SD Master Mode 0 Data Transitions
REV. A
-59-
ADV7304A/ADV7305A
Mode 1: Slave Option HSYNC, BLANK, FIELD (Timing Register 0 TR0 = X X X X X 0 1 0)
In this mode, the ADV7304A/ADV7305A accepts horizontal SYNC and odd/even FIELD signals. A transition of the FIELD input when HSYNC is low indicates a new frame, i.e., vertical
DISPLAY
retrace. The BLANK signal is optional. When the BLANK input is disabled, the ADV7304A/ADV7305A automatically blanks all normally blank lines as per CCIR-624. HSYNC is input on the S_HSYNC pin, BLANK on the S_BLANK pin, and FIELD on the S_VSYNC pin.
DISPLAY VERTICAL BLANK
522 HSYNC BLANK FIELD
523
524
525
1
2
3
4
5
6
7
8
9
10
11
20
21
22
EVEN FIELD
ODD FIELD
DISPLAY
DISPLAY VERTICAL BLANK
260 HSYNC BLANK FIELD
261
262
263
264
265
266
267
268
269
270
271
272
273
274
283
284
285
ODD FIELD
EVEN FIELD
Figure 98. SD Slave Mode 1, NTSC
DISPLAY DISPLAY VERTICAL BLANK
622 HSYNC BLANK FIELD
623
624
625
1
2
3
4
5
6
7
21
22
23
EVEN FIELD
ODD FIELD
DISPLAY VERTICAL BLANK
DISPLAY
309 HSYNC BLANK FIELD
310
311
312
313
314
315
316
317
318
319
320
334
335
336
ODD FIELD
EVEN FIELD
Figure 99. SD Slave Mode 1, PAL
-60-
REV. A
ADV7304A/ADV7305A
Mode 1: Master Option HSYNC, BLANK, FIELD (Timing Register 0 TR0 = X X X X X 0 1 1)
In this mode, the ADV7304A/ADV7305A can generate horizontal SYNC and odd/even FIELD signals. A transition of the FIELD input when HSYNC is low indicates a new frame, i.e.,
vertical retrace. The blank signal is optional. When the BLANK input is disabled, the ADV7304A/ADV7305A automatically blanks all normally blank lines as per CCIR-624. Pixel data is latched on the rising clock edge following the timing signal transitions. HSYNC is output on the S_HSYNC pin, BLANK on the S_BLANK pin, and FIELD on the S_VSYNC pin.
HSYNC
FIELD
PAL = 12 CLOCK/2 NTSC = 16 CLOCK/2 BLANK
PIXEL DATA
Cb
Y
Cr
Y
PAL = 132 NTSC = 122
CLOCK/2 CLOCK/2
Figure 100. SD Timing Mode 1 Odd/Even Field Transitions, Master/Slave
REV. A
-61-
ADV7304A/ADV7305A
Mode 2: Slave Option HSYNC, VSYNC, BLANK (Timing Register 0 TR0 = X X X X X 1 0 0)
In this mode, the ADV7304A/ADV7305A accepts horizontal and vertical SYNC signals. A coincident low transition of both HSYNC and VSYNC inputs indicates the start of an odd field.
DISPLAY
A VSYNC low transition when HSYNC is high indicates the start of an even field. The BLANK signal is optional. When the BLANK input is disabled, the ADV7304A/ADV7305A automatically blanks all normally blank lines as per CCIR-624. HSYNC is input on the S_HSYNC pin, BLANK on the S_BLANK pin, and FIELD on the S_VSYNC pin.
VERTICAL BLANK DISPLAY
522 HSYNC BLANK VSYNC
523
524
525
1
2
3
4
5
6
7
8
9
10
11
20
21
22
EVEN FIELD DISPLAY
ODD FIELD DISPLAY VERTICAL BLANK
260 HSYNC BLANK VSYNC
261
262
263
264
265
266
267
268
269
270
271
272
273
274
283
284
285
ODD FIELD
EVEN FIELD
Figure 101. SD Slave Mode 2, NTSC
DISPLAY VERTICAL BLANK DISPLAY
622 HSYNC BLANK VSYNC
623
624
625
1
2
3
4
5
6
7
21
22
23
EVEN FIELD
ODD FIELD
DISPLAY
DISPLAY VERTICAL BLANK
309 HSYNC BLANK VSYNC
310
311
312
313
314
315
316
317
318
319
320
334
335
336
ODD FIELD
EVEN FIELD
Figure 102. SD Slave Mode 2, PAL
-62-
REV. A
ADV7304A/ADV7305A
Mode 2: Master Option HSYNC, VSYNC, BLANK (Timing Register 0 TR0 = X X X X X 1 0 1)
In this mode, the ADV7304A/ADV7305A can generate horizontal and vertical SYNC signals. A coincident low transition of both HSYNC and VSYNC inputs indicates the start of an odd
HSYNC
field. A VSYNC low transition when HSYNC is high indicates the start of an even field. The BLANK signal is optional. When the BLANK input is disabled, the ADV7304A/ADV7305A automatically blanks all normally blank lines as per CCIR-624. HSYNC is output on the S_HSYNC pin, BLANK on the S_BLANK pin, and FIELD on the S_VSYNC pin.
VSYNC
BLANK
PAL = 12 NTSC = 16
CLOCK/2 CLOCK/2
PIXEL DATA PAL = 132 NTSC = 122 CLOCK/2 CLOCK/2
Cb
Y
Cr
Y
Figure 103. SD Timing Mode 2 Even to Odd Field Transition, Master/Slave
HSYNC
VSYNC PAL = 12 NTSC = 16 BLANK CLOCK/2 CLOCK/2 PAL = 864 NTSC = 858 CLOCK/2 CLOCK/2
PIXEL DATA
Cb
Y
Cr
Y
Cb
PAL = 132 NTSC = 122
CLOCK/2 CLOCK/2
Figure 104. SD Timing Mode 2 Odd to Even Field Transition, Master/Slave
REV. A
-63-
ADV7304A/ADV7305A
Mode 3: Master/Slave Option HSYNC, BLANK, FIELD (Timing Register 0 TR0 = X X X X X 1 1 0 or X X X X X 1 1 1)
In this mode, the ADV7304A/ADV7305A accepts or generates horizontal SYNC and odd/even FIELD signals. A transition of the FIELD input when HSYNC is high indicates a new frame,
DISPLAY
i.e., vertical retrace. The BLANK signal is optional. When the BLANK input is disabled, the ADV7304A/ADV7305A automatically blanks all normally blank lines as per CCIR-624. HSYNC is interfaced on the S_HSYNC pin, BLANK on the S_BLANK pin, and FIELD on the S_VSYNC pin.
DISPLAY VERTICAL BLANK
522 HSYNC BLANK FIELD
523
524
525
1
2
3
4
5
6
7
8
9
10
11
20
21
22
EVEN FIELD
ODD FIELD
DISPLAY
VERTICAL BLANK
DISPLAY
260 HSYNC BLANK FIELD
261
262
263
264
265
266
267
268
269
270
271
272
273
274
283
284
285
ODD FIELD
EVEN FIELD
Figure 105. SD Timing Mode 3, NTSC
DISPLAY VERTICAL BLANK DISPLAY
622 HSYNC BLANK FIELD
623
624
625
1
2
3
4
5
6
7
21
22
23
EVEN FIELD
ODD FIELD
DISPLAY VERTICAL BLANK
DISPLAY
309 HSYNC BLANK FIELD
310
311
312
313
314
315
316
317
318
319
320
334
335
336
EVEN FIELD
ODD FIELD
Figure 106. SD Timing Mode 3, PAL
-64-
REV. A
ADV7304A/ADV7305A Appendix F
VIDEO OUTPUT LEVELS
INPUT CODE EIA-770.2, STANDARD FOR Y OUTPUT VOLTAGE +700mV
INPUT CODE
EIA-770.3, STANDARD FOR Y
OUTPUT VOLTAGE +700mV
940
940
VIDEO ACTIVE +300mV
VIDEO ACTIVE
64
0mV
64
0mV
-300mV EIA-770.3, STANDARD FOR Pr/Pb OUTPUT VOLTAGE +350mV +300mV VIDEO ACTIVE
-300mV
960
EIA-770.2, STANDARD FOR Pr/Pb 960 OUTPUT VOLTAGE +350mV
512
VIDEO ACTIVE
0mV
-300mV
512 0mV
64
-350mV
64
-300mV -350mV
Figure 109. EIA-770.3 Standard Output Signals (1080 i, 720 p)
INPUT CODE Y-OUTPUT LEVELS FOR FULL I/P SELECTION OUTPUT VOLTAGE +700mV
Figure 107. EIA-770.2 Standard Output Signals (525 p)
INPUT CODE EIA-770.1, STANDARD FOR Y OUTPUT VOLTAGE +782mV +714mV
1023
940
VIDEO ACTIVE
VIDEO ACTIVE
64
0mV
64
0mV
-300mV
-286mV EIA-770.1, STANDARD FOR Pr/Pb 960
INPUT CODE 1023
Pr/Pb-OUTPUT LEVELS FOR FULL I/P SELECTION
OUTPUT VOLTAGE +700mV
OUTPUT VOLTAGE +350mV
VIDEO ACTIVE
VIDEO ACTIVE 512 0mV
64
0mV
-300mV 64 -350mV
-300mV
Figure 110. Output Levels for Full Input Selection
Figure 108. EIA-770.1 Standard Output Signals (525 p)
REV. A
-65-
ADV7304A/ADV7305A Appendix G
VIDEO STANDARDS
0HDATUM SMPTE274M
ANALOG WAVEFORM
DIGITAL HORIZONTAL BLANKING
4T EAV CODE
272T ANCILLARY DATA (OPTIONAL) OR BLANKING CODE
4T SAV CODE
1920T DIGITAL ACTIVE LINE C Y r
INPUT PIXELS
F F
0 0
0F 0V H*
F F
0 0
C 0F C 0V b Y r H*
4 CLOCK 0 2199
4 CLOCK
SAMPLE NUMBER
2112
2116 2156
44
188
192
2111
FVH* = FVH AND PARITY BITS SAV/EAV: LINE 1-562: F = 0 SAV/EAV: LINE 563-1125: F = 1 SAV/EAV: LINE1-20; 561-583; 1124-1125: V = 1 SAV/EAV: LINE 21-560; 584-1123: V = 0
Figure 111. EAV/SAV Input Data Timing Diagram, SMPTE274M
SMPTE293M
ANALOG WAVEFORM
EAV CODE F 0V 0 H*
ANCILLARY DATA (OPTIONAL) F F
SAV CODE F 0 V 0 H*
DIGITAL ACTIVE LINE C C bYr C Yr Y
INPUT PIXELS
F F
0 0
0 0
4 CLOCK SAMPLE NUMBER 719 723 736 0HDATUM 799 853
4 CLOCK 857 0 719
DIGITAL HORIZONTAL BLANKING FVH* = FVH AND PARITY BITS SAV: LINE 43-525 = 200H SAV: LINE 1-42 = 2AC EAV: LINE43-525 = 274H EAV: LINE 1-42 = 2D8
Figure 112. EAV/SAV Input Data Timing Diagram, SMPTE293M
-66-
REV. A
ADV7304A/ADV7305A
ACTIVE VIDEO VERTICAL BLANK ACTIVE VIDEO
522
523
524
525
1
2
5
6
7
8
9
12
13
14
15
16
42
43
44
Figure 113. SMPTE293M
ACTIVE VIDEO VERTICAL BLANK ACTIVE VIDEO
622
623
624
625
1
2
4
5
6
7
8
9
10
11
12
13
43
44
45
Figure 114. ITU-R.BT1358 (625 p)
DISPLAY VERTICAL BLANKING INTERVAL
747
748
749
750
1
2
3
4
5
6
7
8
25
26
27
744
745
Figure 115. SMPTE296M (720 p)
DISPLAY
VERTICAL BLANKING INTERVAL
FIELD 1
1124
1125
1
2
3
4
5
6
7
8
20
21
22
560
DISPLAY
VERTICAL BLANKING INTERVAL
FIELD 2
561
562
563
564
565
566
567
568
569
570
583
584
585
1123
Figure 116. SMPTE274M (1080 i)
REV. A
-67-
ADV7304A/ADV7305A
OUTLINE DIMENSIONS 64-Lead Thin Plastic Quad Flatpack [LQFP] (ST-64B)
Dimensions shown in millimeters
0.75 0.60 0.45 SEATING PLANE
1.60 MAX
1
12.00 BSC
64 49 48
TOP VIEW
(PINS DOWN)
10.00 BSC
1.45 1.40 1.35
0.20 0.09 7 3.5 0 0.08 MAX COPLANARITY
VIEW A
16 17 32 33
0.15 0.05
SEATING PLANE
VIEW A
ROTATED 90 CCW
0.50 BSC
0.27 0.22 0.17
COMPLIANT TO JEDEC STANDARDS MS-026BCD
Revision History
Location 11/02--Data Sheet changed from REV. 0 to REV. A. Page
Changes to Figure 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Changes to SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Added Thermal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Changes to PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Changes to Table XII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Changes to Table XIII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Changes to the Realtime Control, Subcarrier Reset, Timing Reset section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Changes to SD SUBCARRIER FREQUENCY REGISTERS [Subaddress 4Ch-4Fh] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Changes to Figure 75 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Changes to Figure 76 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Changes to Figure 79 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Updated OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
PRINTED IN U.S.A.
-68-
REV. A
C02864-0-11/02(A)


▲Up To Search▲   

 
Price & Availability of ADV7305AKST

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X